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

Bug#257054: apt: shows recommendations from old packages



Package: apt
Version: 0.5.25
Severity: minor

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

apt-cache show lg-latest-two currently reports these versions for me:

johannes:~$ apt-cache show lg-latest-two | egrep '(Version|Recommends)'
Version: 103
Recommends: lg-issue101
Version: 101
Recommends: lg-issue101
Version: 77
Recommends: lg-issue76

Now, I was upgrading lg-latest-two:

johannes:~$ sudo apt-get install lg-latest-two
Password:
Reading Package Lists... Done
Building Dependency Tree... Done
Recommended packages:
  lg-issue101 lg-issue76
The following packages will be REMOVED:
  lg-issue100
The following packages will be upgraded:
  lg-latest-two
1 upgraded, 0 newly installed, 1 to remove and 8 not upgraded.

As you see, apt listed (under Recommended packages) a recommendation
on lg-issue76, which the latest lg-latest-two even conflicts: against.

Apparently apt-get shows recommendations even from a really old version
of the package that is still available here.

- -- Package-specific info:

- -- apt-config dump --

APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Cache-Limit "16777216";
APT::Get "";
APT::Get::Show-Upgraded "1";
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 enter 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";

- -- /etc/apt/preferences --

Package: *
Pin: release a=experimental
Pin-Priority: 400

- -- /etc/apt/sources.list -- [stripped manually]

# non-us unstable
deb http://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free
deb-src http://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free

# stable
deb http://ftp.de.debian.org/debian/ stable main non-free contrib
deb-src http://ftp.de.debian.org/debian/ stable main non-free contrib
deb http://ftp.de.debian.org/debian-non-US stable/non-US main contrib non-free
deb-src http://ftp.de.debian.org/debian-non-US stable/non-US main contrib non-free

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

# experimental
deb http://ftp.de.debian.org/debian/ ../project/experimental main non-free contrib
deb-src http://ftp.de.debian.org/debian/ ../project/experimental main non-free contrib

# some old stuff needed once
deb http://snapshot.debian.net/archive/2004/06/10/debian unstable main contrib non-free

- -- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (400, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.3
Locale: LANG=C, LC_CTYPE=de_DE@euro (ignored: LC_ALL set to en_US)

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-2    GCC support library
ii  libstdc++5                  1:3.3.4-2    The GNU Standard C++ Library v3

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Comment: Johannes Berg (SIP Solutions)

iQIVAwUBQOHVWqVg1VMiehFYAQLxqg/+Os/UY2ObGA/mO9I3YErEM0PNmySM8k9u
/NBzEQQmxH3FdIoL7gIIWkDxzZTwB0zNUtbEqTN0+/L925BekLUk3MmMgzRlXjUQ
Rm1aapofz0PgoXNXNn5eJniXwywxVhKC2t9U2w1OQyF53XRQN9NLiQCMvIXpYjtK
5fyNWhDK3VZcjPMR1OULC9G5VhfZyntf/KtvBGnpnW9iP9+3at6Ug8PyTChpPv+4
t9bOG+J4noGiACeCiFA4BFU5DbTH3SNqfP8wsPsp0HB2vaJWZoMMzBskG3H+hy3i
ZXskybs1SxbrtQ/t79VR9BubxlXRvOXxQbpRiP+ts0t3aJDP15BIYiO6Nvm4Bw86
XaJ2v4+PNnSdRtGH4Kbal+uztbt184gwB6QK1AcHY4JTiGf1s7WCLc1P0ZPGrH9Z
vE6bbnO3nomLofNrMQQ0zsBTUlmEUlryxogNwTBfgBD29IssPgCRcytXx+5sM0+q
RvYIJlJLi3n/hRjphufHgHRU4ksyHeX9yi/GoCW63M97SLookurBLyrseMNeVu8f
ttq3QcXwb6JXBEPRtESFUCnb/gBhoxw/36N52oAKmUSiUi2Qur9hCyNGCiTdSGTo
dXC20LDNWnEM8zhdbj6b87pp2PWBDQ4ldbM5igtaiaUGaHoSyfKwNzXRaqxx/aHJ
AakYifI7ruI=
=7ATf
-----END PGP SIGNATURE-----



Reply to: