[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#254560: [apt-get] doesn't ask for extra package install if one package mentioned twice in commandline



Package: apt
Version: 0.5.25
Severity: important

hi,

apt-get doesn't ask for extra package install - if needed - when at
least one package in install line is mentioned twice:

# apt-get install tla gawk
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  libneon24
Suggested packages:
  tla-doc
The following NEW packages will be installed:
  gawk libneon24 tla
0 upgraded, 3 newly installed, 0 to remove and 3 not upgraded.
Need to get 1218kB of archives.
After unpacking 2773kB of additional disk space will be used.
Do you want to continue? [Y/n] n

# apt-get install tla gawk tla
Reading Package Lists... Done
Building Dependency Tree... Done
Suggested packages:
  tla-doc
The following NEW packages will be installed:
  gawk libneon24 tla
0 upgraded, 3 newly installed, 0 to remove and 3 not upgraded.
Need to get 1218kB of archives.
After unpacking 2773kB of additional disk space will be used.
Get:1 ftp://ftp.de.debian.org unstable/main gawk 1:3.1.3-3 [879kB]
[...]


i think this shouldn't happen, should it?

bye
 jonas


-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::userstatus "status.user";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "if dpkg -s apt-listbugs | grep -q '^Status: .* ok installed'; then /usr/sbin/apt-listbugs apt || ( test $? -ne 10 || exit 10; echo 'Warning: apt-listbugs exited abnormally, hit any key to continue.' 1>&2 ; read a < /dev/tty ); fi";
DPkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges --apt || test $? -ne 10";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Tools "";
DPkg::Tools::Options "";
DPkg::Tools::Options::/usr/bin/apt-listchanges "";
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "debsums --generate=nocheck -sp /var/cache/apt/archives";

-- (no /etc/apt/preferences present) --


-- /etc/apt/sources.list --

### UNSTABLE ###
deb ftp://ftp.de.debian.org/debian/ unstable main
deb-src ftp://ftp.de.debian.org/debian/ unstable main

deb ftp://ftp.de.debian.org/debian-non-US/ unstable/non-US main
# deb-src ftp://ftp.de.debian.org/debian-non-US/ unstable/non-US main

deb ftp://ftp.nerim.net/debian-marillat/ unstable main

### TESTING ###
# deb-src ftp://ftp.de.debian.org/debian-non-US/ testing/non-US main
# deb-src ftp://ftp.de.debian.org/debian/ testing main

# deb ftp://ftp.de.debian.org/debian-non-US/ testing/non-US main
# deb-src ftp://ftp.de.debian.org/debian-non-US/ testing/non-US main

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.6
Locale: LANG=C, LC_CTYPE=de_DE@euro

Versions of packages apt depends on:
ii  libc6                       2.3.2.ds1-13 GNU C Library: Shared libraries an
ii  libgcc1                     1:3.3.4-1    GCC support library
ii  libstdc++5                  1:3.3.4-1    The GNU Standard C++ Library v3

-- no debconf information



Reply to: