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

Bug#445311: marked as done (limbo with automatically installed recommended packages)



Your message dated Fri, 14 Jan 2011 00:58:49 +0100
with message-id <AANLkTimUu1QY2VznnqkiRByn+QtyLq=DbwN9SSunwDUq@mail.gmail.com>
and subject line Closes: install a dependent package for something on hold
has caused the Debian Bug report #64141,
regarding limbo with automatically installed recommended packages
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
64141: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=64141
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 0.7.6
Severity: normal

My apt hangs in an endless loop:

[0] 21:23 root@volta:~ # apt-get install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libgladeui-1-5
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

[0] 21:23 root@volta:~ # apt-get autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libgladeui-1-5
The following packages will be REMOVED:
  libgladeui-1-5
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
Need to get 0B of archives.
After unpacking 3485kB disk space will be freed.
Do you want to continue [Y/n]? 
(Reading database ... 80088 files and directories currently installed.)
Removing libgladeui-1-5 ...

[0] 21:24 root@volta:~ # apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  libgladeui-1-5
The following packages have been kept back:
  glade
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 0B/1033kB of archives.
After unpacking 3485kB of additional disk space will be used.
Do you want to continue [Y/n]? 
Selecting previously deselected package libgladeui-1-5.
(Reading database ... 79852 files and directories currently installed.)
Unpacking libgladeui-1-5 (from .../libgladeui-1-5_3.2.2-1_amd64.deb) ...
Setting up libgladeui-1-5 (3.2.2-1) ...

[0] 21:24 root@volta:~ # apt-get install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libgladeui-1-5
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

The same happens when I explicitely remove the libgladeui-1-5 package.

Please don't install recommends: for packages that are already
installed.


-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "amd64";
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/dpkg-preconfigure --apt || true";
DPkg::Post-Invoke "";
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 --

Package: *
Pin: release a=stable
Pin-Priority: 650

Package: *
Pin: release a=sarge-backports
Pin-Priority: 690

Package: *
Pin: release a=testing
Pin-Priority: 700

Package: *
Pin: release a=unstable
Pin-Priority: 600

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


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

deb http://localhost:9999/debian lenny main contrib non-free
deb http://localhost:9999/debian sid main contrib non-free
deb-src http://localhost:9999/debian lenny main contrib non-free
deb http://localhost:9999/security lenny/updates main contrib non-free

deb http://localhost:9999/debian-multimedia testing main

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (700, 'testing'), (600, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.21-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
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-1    GNU C Library: Shared libraries
ii  libgcc1                       1:4.2.1-4  GCC support library
ii  libstdc++6                    4.2.1-4    The GNU Standard C++ Library v3

apt recommends no packages.

-- no debconf information

Attachment: signature.asc
Description: Digital 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 ---

Reply to: