Bug#170522: dist-upgrade still fetches unnecessary packages in apt 0.7.6
Package: apt
Version: 0.7.6
Followup-For: Bug #170522
found 0.7.6
thanks
I just wanted to ping this old bug because it is still present in the current
version of apt-get. I primarily run unstable, but I have some boost libraries
installed (and held) from testing. For example:
apt-cache policy libboost-program-options-dev
libboost-program-options-dev:
Installed: 1.33.1-10
Candidate: 1.34.1-2
Version table:
1.34.1-2 0
500 http://http.us.debian.org unstable/main Packages
*** 1.33.1-10 0
500 http://http.us.debian.org testing/main Packages
100 /var/lib/dpkg/status
Now, the testing version of this package depends on
libboost-program-options1.33.1, but the unstable version depends on
libboost-program-options1.34.1 . When I do try a dist-upgrade,
libboost-program-options-dev is correctly listed as "kept back",
libboost-program-options1.33.1 is not mentioned at all, and
libboost-program-options1.34.1 is listed as a NEW package to be installed.
I've checked to ensure that nothing else depends on any of these packages, and
if I allow the dist-upgrade to continue, I can immediately purge
libboost-program-options1.34.1 without any problems.
I haven't included output of get apt-get commands because there is a lot of
unrelated output and I'm quite certain this is the same bug that others have
already diagnosed.
Thanks.
-- Package-specific info:
-- apt-config dump --
APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "0";
APT::Install-Suggests "0";
APT::NeverAutoRemove "";
APT::NeverAutoRemove:: "^linux-image.*";
APT::NeverAutoRemove:: "^linux-restricted-modules.*";
APT::Acquire "";
APT::Acquire::Translation "environment";
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::sourceparts "sources.list.d";
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:: "/usr/sbin/apt-listbugs apt || exit 10";
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/sbin/apt-listbugs "";
DPkg::Tools::Options::/usr/sbin/apt-listbugs::Version "2";
DPkg::Tools::Options::/usr/bin/apt-listchanges "";
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "if [ -x /usr/bin/debsums ]; then /usr/bin/debsums --generate=nocheck -sp /var/cache/apt/archives; fi";
DPkg::Post-Invoke:: "if [ -x /usr/sbin/localepurge ] && [ $(ps w -p $PPID | grep -c remove) != 1 ]; then /usr/sbin/localepurge; else exit 0; fi";
-- /etc/apt/preferences --
-- /etc/apt/sources.list --
deb http://http.us.debian.org/debian unstable main non-free contrib
deb-src http://http.us.debian.org/debian unstable main contrib non-free
deb http://http.us.debian.org/debian testing main non-free contrib
deb-src http://http.us.debian.org/debian testing main contrib non-free
#deb http://non-us.debian.org/ unstable/non-US main contrib non-free
#deb-src http://non-us.debian.org unstable/non-US main contrib non-free
deb http://http.us.debian.org/debian experimental main contrib non-free
#blackdown java
#deb http://www.tux.org/pub/java/debian unstable non-free
# Sun java installer
#deb http://debian.medvantx.com/apt debian/opennms unstable
#deb-src http://debian.medvantx.com/apt debian/opennms unstable
#[g]xmame
#deb http://anarxia.dhis.org:2180/debian ./
#deb-src http://anarxia.dhis.org:2180/debian ./
#mplayer, mencoder
deb http://www.debian-multimedia.org sid main
deb-src http://www.debian-multimedia.org sid main
#yzis
#deb ftp://download.yzis.org/yzis ./
#swsusp hibernate script
#now included in unstable???
#deb http://cp.yi.org/apt/hibernate ./
#e16 and e17 CVS
#deb http://soulmachine.net/debian unstable/
#deb-src http://soulmachine.net/debian unstable/
#deb http://gefechtsdienst.de/uman/files/ unstable main
deb http://edevelop.org/debian sid main
deb-src http://edevelop.org/debian sid main
#madwifi-ng
#deb http://debian.tu-bs.de/project/kanotix/experimental/ experimental non-free
#deb-src http://debian.tu-bs.de/project/kanotix/experimental/ experimental non-free
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.22.1 (PREEMPT)
Locale: LANG=en_US.ISO-8859-1, LC_CTYPE=en_US.ISO-8859-1 (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages apt depends on:
ii debian-archive-keyring 2007.07.31 GnuPG archive keys of the Debian a
ii libc6 2.6.1-5 GNU C Library: Shared libraries
ii libgcc1 1:4.2.1-5 GCC support library
ii libstdc++6 4.2.1-5 The GNU Standard C++ Library v3
apt recommends no packages.
-- no debconf information
Reply to: