Bug#122304: apt may be more intelligent when checking depends
Package: apt
Version: 0.5.4
Severity: minor
there is a bug in handling package names on command line
apt-get install ale-clone ale-clone-war2
wants to install cogliati package which is not needed
home:~# apt-get install -d -s ale-clone ale-clone-war2
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
ale-clone-cogliati
The following NEW packages will be installed:
ale-clone ale-clone-cogliati ale-clone-war2
0 packages upgraded, 3 newly installed, 0 to remove and 340 not upgraded.
Inst ale-clone-war2 (1.15pre16.3-1.1 Debian:testing) []
Inst ale-clone-cogliati (0.11-1 Debian:testing, Debian:2.2/frozen) []
Inst ale-clone (1.15pre16.3-1.1 Debian:testing)
Conf ale-clone-cogliati (0.11-1 Debian:testing, Debian:2.2/frozen)
Conf ale-clone (1.15pre16.3-1.1 Debian:testing)
Conf ale-clone-war2 (1.15pre16.3-1.1 Debian:testing)
home:~#
but if you swap command line arguments, it will do the right thing!
home:~# apt-get install -s ale-clone-war2 ale-clone
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
ale-clone ale-clone-war2
0 packages upgraded, 2 newly installed, 0 to remove and 340 not upgraded.
Inst ale-clone-war2 (1.15pre16.3-1.1 Debian:testing) []
Inst ale-clone (1.15pre16.3-1.1 Debian:testing)
Conf ale-clone (1.15pre16.3-1.1 Debian:testing)
Conf ale-clone-war2 (1.15pre16.3-1.1 Debian:testing)
home:~#
-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux home 2.2.20 #1 Sat Nov 17 12:08:35 CET 2001 i586
Locale: LANG=C, LC_CTYPE=C
Versions of packages apt depends on:
ii libc6 2.2.4-5 GNU C Library: Shared libraries an
ii libstdc++2.10-glibc2.2 1:2.95.4-0.011006 The GNU stdc++ library
Reply to: