--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: apt-get wants to install a dependent package for something on hold
- From: "Darren/Torin/Who Ever..." <torin@daft.com>
- Date: 15 May 2000 03:51:06 -0700
- Message-id: <87vh0gm6hx.fsf@perv.daft.com>
-----BEGIN PGP SIGNED MESSAGE-----
Package: apt
Version: 0.3.18
Severity: normal
I put sendmail on hold since I question the advisability of having Beta
software handle my mail. I also notice that sendmail now depends on
sfio1999.
# echo -e 'sendmail\thold' | dpkg --set-selections.
I do an apt-get -s dist-upgrade to see what's left. Hmm. Interesting.
It's still trying to install sfio99. I install the various upgraded
packages to see if any of them needed sfio1999 (there were only 6).
They don't.
So, I get the following display:
# apt-get -s dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
The following NEW packages will be installed:
sfio1999
The following packages have been kept back
apache-common libgd-graph-perl rmagic sendmail
0 packages upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Inst sfio1999 [shellutils on hurd]
Conf sfio1999
It seems inadvisable to install a new package for something on hold...
Here's the what sendmail depends on:
# apt-cache depends sendmail | grep Depends:
Depends: libc6
Depends: libdb2
Depends: libopenldap1
Depends: libpam0g
Depends: libsasl7
Depends: libssl09
Depends: libwrap0
Depends: sfio1999
Depends: m4
Depends: <awk>
|Depends: procmail
Depends: deliver
Darren
- -- System Information
Debian Release: 2.2
Architecture: i386
Kernel: Linux trisul 2.2.15pre17 #1 Thu Apr 6 05:51:10 PDT 2000 i586
Versions of packages apt depends on:
ii libc6 2.1.3-10 GNU C Library: Shared libraries an
ii libstdc++2.10 1:2.95.2-9 The GNU stdc++ library
- --
<torin@daft.com> <http://www.daft.com/~torin> <torin@debian.org> <torin@io.com>
Darren Stalder/2608 Second Ave, @282/Seattle, WA 98121-1212/USA/+1-800-921-4996
@ Sysadmin, webweaver, postmaster for hire. C/Perl/CGI/Pilot programmer/tutor @
@ Make a little hot-tub in your soul. @
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3a
Charset: noconv
Comment: Processed by Mailcrypt 3.5.1, an Emacs/PGP interface
iQCVAwUBOR/Wl44wrq++1Ls5AQG8mwP6A4nUyE0jdnrQCt5C2J6B04awCpNnPFC7
ib0h6NlgVjF+vGxSGHEtedsHCFKkOFk90sadL+oJOlYCSfNbFn8MEiE3wn+NpIC6
vLfeHCj13TkO6m/ciwv0h1PN1p5JfgmRbMIa8e+7XaWpJCguY9UUx2F1JWt3h4By
gOu+PXCoxds=
=ysbQ
-----END PGP SIGNATURE-----
--- End Message ---
--- Begin Message ---
package apt
unmerge 64141
unmerge 445311
merge 64141 445311
fixed 64141 0.7.22
unmerge 92569
fixed 92569 0.7.26~exp8
thanks
The bug described in the first two mentioned bugs described by that a package
which is on hold (by dpkg) causes installation/removal of other packages is
fixed since 0.7.22 as already closed which can be verified with attached
testcase. (this is different to the other bugreports where APT sets the
package on hold while work is in progress)
The third bug just asks for making the order of install requests irrelevant.
This bug was tracked as #196021 and is fixed since 0.7.26~exp8.
So both fixes are be available in squeeze.
Best regards
David Kalnischkies
=== added file 'test/integration/Packages-bug-64141-install-dependencies-for-on-hold'
--- test/integration/Packages-bug-64141-install-dependencies-for-on-hold 1970-01-01 00:00:00 +0000
+++ test/integration/Packages-bug-64141-install-dependencies-for-on-hold 2011-01-13 23:17:06 +0000
@@ -0,0 +1,42 @@
+Package: apt
+Priority: important
+Section: admin
+Installed-Size: 6048
+Maintainer: APT Development Team <deity@lists.debian.org>
+Architecture: i386
+Version: 0.8.10
+Provides: libapt-pkg4.10
+Depends: libc6 (>= 2.10), libdb4.8
+Breaks: oldcrap
+Filename: pool/main/a/apt/apt_0.8.10_i386.deb
+Size: 2160758
+MD5sum: 5aa2234f7b91056d430669cddf6e6e50
+Description: Advanced front-end for dpkg
+
+Package: libc6
+Priority: required
+Section: libs
+Installed-Size: 9356
+Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
+Architecture: i386
+Source: eglibc
+Version: 2.11.2-7
+Provides: glibc-2.11-1
+Filename: pool/main/e/eglibc/libc6_2.11.2-7_i386.deb
+Size: 3880868
+MD5sum: c48fd2854fc62125824267d086600793
+Description: Embedded GNU C Library: Shared libraries
+
+Package: libdb4.8
+Priority: standard
+Section: libs
+Installed-Size: 1488
+Maintainer: Clint Adams <clint@gnu.org>
+Architecture: i386
+Source: db4.8
+Version: 4.8.30-3
+Depends: libc6 (>= 2.3.6-6~)
+Filename: pool/main/d/db4.8/libdb4.8_4.8.30-3_i386.deb
+Size: 681988
+MD5sum: 0d58c15898a95436d2ec480aa22693ff
+Description: Berkeley v4.8 Database Libraries [runtime]
=== added file 'test/integration/status-bug-64141-install-dependencies-for-on-hold'
--- test/integration/status-bug-64141-install-dependencies-for-on-hold 1970-01-01 00:00:00 +0000
+++ test/integration/status-bug-64141-install-dependencies-for-on-hold 2011-01-13 23:16:54 +0000
@@ -0,0 +1,33 @@
+Package: apt
+Status: install ok installed
+Priority: important
+Section: admin
+Installed-Size: 6048
+Maintainer: APT Development Team <deity@lists.debian.org>
+Architecture: i386
+Version: 0.8.9
+Provides: libapt-pkg4.10
+Depends: libc6 (>= 2.3.4)
+Description: Advanced front-end for dpkg
+
+Package: libc6
+Status: install ok installed
+Priority: required
+Section: libs
+Installed-Size: 9356
+Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
+Architecture: i386
+Source: eglibc
+Version: 2.3.5-7
+Provides: glibc-2.11-1
+Description: Embedded GNU C Library: Shared libraries
+
+Package: oldcrap
+Status: install ok installed
+Priority: extra
+Section: oldlibs
+Installed-Size: 1
+Maintainer: Joe Sixpack <joe@example.org>
+Architecture: all
+Version: 1-1
+Description: Old crappy nothing package
=== added file 'test/integration/test-bug-64141-install-dependencies-for-on-hold'
--- test/integration/test-bug-64141-install-dependencies-for-on-hold 1970-01-01 00:00:00 +0000
+++ test/integration/test-bug-64141-install-dependencies-for-on-hold 2011-01-13 23:17:52 +0000
@@ -0,0 +1,34 @@
+#!/bin/sh
+set -e
+
+TESTDIR=$(readlink -f $(dirname $0))
+. $TESTDIR/framework
+setupenvironment
+configarchitecture "i386"
+setupaptarchive
+
+testequal 'Reading package lists...
+Building dependency tree...
+The following packages will be REMOVED:
+ oldcrap
+The following NEW packages will be installed:
+ libdb4.8
+The following packages will be upgraded:
+ apt libc6
+2 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
+Need to get 0 B/6724 kB of archives.
+After this operation, 1523 kB of additional disk space will be used.
+E: Trivial Only specified but this is not a trivial operation.' aptget dist-upgrade --trivial-only
+
+echo 'apt hold' | dpkg --set-selections
+
+testequal 'Reading package lists...
+Building dependency tree...
+The following packages have been kept back:
+ apt
+The following packages will be upgraded:
+ libc6
+1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
+Need to get 0 B/3881 kB of archives.
+After this operation, 0 B of additional disk space will be used.
+E: Trivial Only specified but this is not a trivial operation.' aptget dist-upgrade --trivial-only -o Test='hold-back-apt'
--- End Message ---