Package: apt-cross
Version: 0.1.0
Severity: normal

Hi,

I've just tried apt-cross for the first time having previously used dpkg-cross. 
 
It looks like it should be a very helpful tool, and my first attempt worked:

# apt-cross -a arm --install librecode-dev

(One suggestion is that it could accept "install" as well as "--install", for 
more consistency with apt-get.  And a -s for simulate would also be 
appreciated.)

So that was OK but I soon realised that it had loaded librecode-dev for 
unstable, 
which has the new ABI!  So I uninstalled it, which worked, and tried to install 
an older version, from stable:

# apt-cross -a arm --remove librecode-dev
# apt-cross -a arm -S stable --install librecode-dev

This simply printed:

    One package to install.

straight away and did nothing else.

With "-S testing" it did seem to work: it downloaded the package files and 
then downloaded and installed the requested library and dependencies.

I eventually realised that I needed to do "apt-cross -a arm -S stable --update" 
first.  After that the --install worked fine.

So the bug is that for unstable and testing it seemed to automatically download 
the package files while for stable it didn't.  And/or, that without the package 
files it printed only a very terse message, not "no packages files, please run 
apt-cross --update".

Here is the contents of my sources.list, exluding commented-out lines, in case 
it is relevent :

deb http://ftp.uk.debian.org/debian stable main
deb http://ftp.uk.debian.org/debian/ testing main contrib
deb http://ftp.uk.debian.org/debian/ unstable main
deb-src http://ftp.uk.debian.org/debian/ unstable main
deb http://security.debian.org/ testing/updates main
deb http://tonelli.sns.it/pub/mplayer/etch ./
deb http://mirrors.ecology.uni-kiel.de/debian/debian-multimedia unstable main

Please excuse me if I am doing something stupid (or if you consider my 
expectations unreasonable!), and thank you for this excellent tool.

Regards,

Phil.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.19
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages apt-cross depends on:
ii  apt                           0.6.43.3   Advanced front-end for dpkg
ii  binutils                      2.17-1     The GNU assembler, linker and bina
ii  dpkg-cross                    1.28       tools for cross compiling Debian p
ii  dpkg-dev                      1.13.22    package building tools for Debian
ii  libfile-homedir-perl          0.64-1     Get the home directory for yoursel
ii  libwww-perl                   5.805-1    WWW client/server library for Perl
ii  sudo                          1.6.8p12-5 Provide limited super user privile

apt-cross recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to