I have the same issue, as can be seen below : as I understand it, the update of a package (initscripts) would break others (initramfs-tools), so in the end dist-upgrade decides to not upgrade it, which is fine. However, at the same time dist-upgrade decides to remove the packages that would be broken if initscripts were updated (as if dist-upgrade forgets that it actually keeps initscripts as-is).

root@sr027055:~# apt-get --simulate -o 'Debug::pkgProblemResolver=true' -y dist-upgrade -V
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Starting
Starting 2
Investigating (0) initscripts [ amd64 ] < 2.88dsf-22.1 -> 2.88dsf-31 > ( admin ) Broken initscripts:amd64 Breaks on initramfs-tools [ amd64 ] < 0.98.8 -> 0.107 > ( utils ) (< 0.104) Considering initramfs-tools:amd64 3 as a solution to initscripts:amd64 245
  Added initramfs-tools:amd64 to the remove list
Broken initscripts:amd64 Breaks on util-linux [ amd64 ] < 2.17.2-9 -> 2.20.1-5.1 > ( utils ) (< 2.20.1-5)
  Considering util-linux:amd64 5222 as a solution to initscripts:amd64 245
  Holding Back initscripts:amd64 rather than change util-linux:amd64
  Fixing initscripts:amd64 via remove of initramfs-tools:amd64
Investigating (0) linux-image-2.6.32-5-amd64 [ amd64 ] < 2.6.32-45 > ( kernel ) Broken linux-image-2.6.32-5-amd64:amd64 Depends on initramfs-tools [ amd64 ] < 0.98.8 -> 0.107 > ( utils ) (>= 0.55) Considering initramfs-tools:amd64 3 as a solution to linux-image-2.6.32-5-amd64:amd64 0 Broken linux-image-2.6.32-5-amd64:amd64 Depends on linux-initramfs-tool [ amd64 ] < none > ( none ) Considering initramfs-tools:amd64 3 as a solution to linux-image-2.6.32-5-amd64:amd64 0
  Or group remove for linux-image-2.6.32-5-amd64:amd64
 Try to Re-Instate (1) initscripts:amd64
Done
Done
The following packages will be REMOVED:
   initramfs-tools (0.98.8)
   linux-image-2.6.32-5-amd64 (2.6.32-45)
The following packages have been kept back:
   initscripts (2.88dsf-22.1 => 2.88dsf-31)
0 upgraded, 0 newly installed, 2 to remove and 1 not upgraded.
Remv linux-image-2.6.32-5-amd64 [2.6.32-45]
Remv initramfs-tools [0.98.8]

root@sr027055:~# apt-get --simulate -o 'Debug::pkgProblemResolver=true' -y upgrade -V
Reading package lists... Done
Building dependency tree
Reading state information... Done
Entering ResolveByKeep
Keeping package initscripts:amd64
The following packages have been kept back:
   initscripts (2.88dsf-22.1 => 2.88dsf-31)
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

Here's the version of apt-get that exhibits the bug :

root@sr027055:~# apt-get -v
apt 0.8.10.3 for amd64 compiled on Apr 15 2011 07:35:31
Supported modules:
*Ver: Standard .deb
*Pkg:  Debian dpkg interface (Priority 30)
 S.L: 'deb' Standard Debian binary tree
 S.L: 'deb-src' Standard Debian source tree
 Idx: Debian Source Index
 Idx: Debian Package Index
 Idx: Debian Translation Index
 Idx: Debian dpkg status file

Hope this helps,

Guillaume


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to