Package: apt-cross
Version: 0.0.5
Severity: important

Line 380 of apt-cross seems to contain an incorrect invokation of
apt-get.  Seems to be passing "-update" rather than "update".

On my system (if I remove the 2>&1) I get the following error:

E: Command line option ā€˜p’ [from -update] is not known.

Also, with the 2>&1 at the end of the line I don't see any
output about the failure, since $result is never used.

Also, there is a comment about using fakeroot but fakeroot
does not seem to be used, which mean that "-u" requires
root privs (which I guess it shouldn't).

Aside from that apt-cross has saved me a lot of time.  Thank
you very much for such a useful tool!


-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
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.46.4   Advanced front-end for dpkg
ii  binutils                      2.17-3     The GNU assembler, linker and bina
ii  dpkg-cross                    1.34       tools for cross compiling Debian p
ii  dpkg-dev                      1.13.25    package building tools for Debian
ii  fakeroot                      1.5.12     Gives a fake root environment
ii  libfile-homedir-perl          0.56-1.1   Get the home directory for yoursel
ii  libwww-perl                   5.805-1    WWW client/server library for Perl
ii  sudo                          1.6.8p12-4 Provide limited super user privile

apt-cross recommends no packages.

-- no debconf information

Reply via email to