Debian Bug report logs - #170522
[libapt-pkg] dist-upgrade fetches new dependencies of held packages

version graph

Package: apt; Maintainer for apt is APT Development Team <[email protected]>; Source for apt is src:apt (PTS, buildd, popcon).

Reported by: Andras Korn <[email protected]>

Date: Sun, 24 Nov 2002 13:48:01 UTC

Severity: normal

Tags: confirmed

Merged with 68585, 111589, 179449, 204780, 242413, 250644, 262059, 266972, 269482, 301587

Found in versions apt/0.7.6, apt/0.7.13, 0.5.26, 0.3.19, 0.5.27, 0.5.28.1, 0.5.4, 0.3.18, apt/0.6.41, 0.5.8, 0.5.3, 0.5.24

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], APT Development Team <[email protected]>, [email protected]:
Bug#170522; Package apt. (full text, mbox, link).


Acknowledgement sent to Andras Korn <[email protected]>:
New Bug report received and forwarded. Copy sent to APT Development Team <[email protected]>, [email protected]. (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Andras Korn <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: dist-upgrade fetches new dependencies of held packages
Date: Sun, 24 Nov 2002 14:35:11 +0100
Package: apt
Version: 0.5.4
Severity: normal

Hi,

valhalla:root/# apt-get -u dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
The following NEW packages will be installed:
  libacl1 libattr1 
The following packages have been kept back
  samba samba-common smbclient smbfs swat 
0 packages upgraded, 2 newly installed, 0 to remove and 5  not upgraded.
Need to get 0B/16.4kB of archives. After unpacking 77.8kB will be used.
Do you want to continue? [Y/n] n
Abort.

samba is held; the current version does not depend on libacl1 or libattr1,
only the new one does. apt shouldn't install these two packages because the
new version of samba that depends on them isn't going to be installed.

Best regards,

Andrew

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux chardonnay 2.4.18-ak1.2.1-chardonnay #1 Thu Apr 11 15:48:31 CEST 2002 i686
Locale: LANG=C, LC_CTYPE=hu_HU

Versions of packages apt depends on:
ii  libc6                        2.3.1-5     GNU C Library: Shared libraries an
ii  libstdc++2.10-glibc2.2       1:2.95.4-15 The GNU stdc++ library

-- no debconf information

-- 
          Andrew Korn (Korn Andras) <korn at chardonnay.math.bme.hu>
           Finger korn at chardonnay.math.bme.hu for pgp key. QOTD:
               Guillotine operator wanted.  Chance to get ahead.



Merged 170522 179449. Request was from Matt Zimmerman <[email protected]> to [email protected]. (full text, mbox, link).


Merged 170522 179449 204780. Request was from Matt Zimmerman <[email protected]> to [email protected]. (full text, mbox, link).


Changed Bug title. Request was from Matt Zimmerman <[email protected]> to [email protected]. (full text, mbox, link).


Merged 170522 179449 204780 242413. Request was from Matt Zimmerman <[email protected]> to [email protected]. (full text, mbox, link).


Merged 170522 179449 204780 242413 250644. Request was from Matt Zimmerman <[email protected]> to [email protected]. (full text, mbox, link).


Merged 170522 179449 204780 242413 250644 262059. Request was from Matt Zimmerman <[email protected]> to [email protected]. (full text, mbox, link).


Merged 170522 179449 204780 242413 250644 262059 266972. Request was from Matt Zimmerman <[email protected]> to [email protected]. (full text, mbox, link).


Merged 170522 179449 204780 242413 250644 262059 266972 269482. Request was from Matt Zimmerman <[email protected]> to [email protected]. (full text, mbox, link).


Tags removed: sarge Request was from Matt Zimmerman <[email protected]> to [email protected]. (full text, mbox, link).


Merged 170522 179449 204780 242413 250644 262059 266972 269482 301587. Request was from Matt Zimmerman <[email protected]> to [email protected]. (full text, mbox, link).


Information forwarded to [email protected], APT Development Team <[email protected]>:
Bug#170522; Package apt. (full text, mbox, link).


Acknowledgement sent to "Nik A. Melchior" <[email protected]>:
Extra info received and forwarded to list. Copy sent to APT Development Team <[email protected]>. (full text, mbox, link).


Message #30 received at [email protected] (full text, mbox, reply):

From: "Nik A. Melchior" <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: dist-upgrade still fetches unnecessary packages in apt 0.7.6
Date: Wed, 03 Oct 2007 12:56:52 -0400
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




Forcibly Merged 64141 68585 92569 111589 170522 179449 204780 242413 250644 262059 266972 269482 301587. Request was from [email protected] to [email protected]. (Wed, 29 Oct 2008 12:51:09 GMT) (full text, mbox, link).


Forcibly Merged 64141 68585 92569 111589 170522 179449 204780 242413 250644 262059 266972 269482 301587 445311. Request was from [email protected] to [email protected]. (Sun, 07 Dec 2008 09:03:03 GMT) (full text, mbox, link).


Bug No longer marked as fixed in versions apt/0.7.22 and reopened. Request was from Debbugs Internal Request <[email protected]> to [email protected]. (Wed, 05 Aug 2009 19:45:05 GMT) (full text, mbox, link).


Disconnected #64141 from all other report(s). Request was from David Kalnischkies <[email protected]> to [email protected]. (Fri, 14 Jan 2011 00:03:03 GMT) (full text, mbox, link).


Disconnected #445311 from all other report(s). Request was from David Kalnischkies <[email protected]> to [email protected]. (Fri, 14 Jan 2011 00:03:06 GMT) (full text, mbox, link).


Disconnected #92569 from all other report(s). Request was from David Kalnischkies <[email protected]> to [email protected]. (Fri, 14 Jan 2011 00:03:09 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Mon Nov 11 13:38:49 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.