Bug#102951: apt: bizarre bug, seems related to version checking
Package: apt
Version: 0.5.3
Severity: important
When upgrading sid tonight, very strange things happened.
# apt-get --purge -u -d upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages have been kept back
lg-subscription slocate util-linux util-linux-locales wmspaceweather wmweather
The following packages will be upgraded
cpp cpp-2.95 dpkg dpkg-dev dpkg-doc equivs fbi g++ g++-2.95 gcc gcc-2.95 libadns1 libadns1-bin libarts libast1
libglade-gnome0 libglade0 libgtk-perl liblzo1 libqt2 libsmpeg0 libstdc++2.10-dev libstdc++2.10-glibc2.2 mixer.app ssh
ssh-askpass-gnome wmcpu wmdate
28 packages upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
Sorry, but the following packages have unmet dependencies:
apt-utils: Depends: libc6 (>= 2.2.1-2) but 2.2.3-6 is to be installed
libsdl1.1: Depends: aalib1 (>= 1.2) but 1.4p5-2 is to be installed
util-linux: PreDepends: libc6 (>= 2.2.3-1) but 2.2.3-6 is to be installed
vim-perl: Depends: libglib1.2 (>= 1.2.0) but 1.2.10-1.2 is to be installed
Depends: libperl5.6 (>= 5.6.1-3) but 5.6.1-5 is to be installed
Conflicts: vim-tcl but it is not going to be installed
Conflicts: vim-tty but it is not installable
wmaker: Depends: libc6 (>= 2.2.3-1) but 2.2.3-6 is to be installed
Conflicts: wmaker-gnome
Conflicts: wmaker-kde
xplanet: Depends: libgl1
E: Internal Error, InstallPackages was called with broken packages!
"Depends: libc6 (>= 2.2.1-2) but 2.2.3-6 is to be installed" Pardon me, apt?
Dist-upgrade and dselect-upgrade get even scarier.
# apt-get --purge -u -d dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
The following packages will be REMOVED:
alsa-base* apt-utils* console-tools* gpppon* hotplug* kbd-compat* libsdl1.1* modconf* modutils* ppp* pppconfig* pppoe*
pppupd* pptpd* secvpn* svgatextmode* synaesthesia* sysvinit* util-linux* util-linux-locales* vim-perl* wmaker* wmppp.app*
xplanet* xplanet-images*
The following packages have been kept back
lg-subscription slocate wmspaceweather wmweather
The following packages will be upgraded
cpp cpp-2.95 dpkg dpkg-dev dpkg-doc equivs fbi g++ g++-2.95 gcc gcc-2.95 libadns1 libadns1-bin libarts libast1
libglade-gnome0 libglade0 libgtk-perl liblzo1 libqt2 libsmpeg0 libstdc++2.10-dev libstdc++2.10-glibc2.2 mixer.app ssh
ssh-askpass-gnome wmcpu wmdate
WARNING: The following essential packages will be removed
This should NOT be done unless you know exactly what you are doing!
sysvinit util-linux (due to sysvinit)
28 packages upgraded, 0 newly installed, 25 to remove and 4 not upgraded.
Need to get 7839kB of archives. After unpacking 16.1MB will be freed.
You are about to do something potentially harmful
To continue type in the phrase 'Yes, do as I say!'
?]
(^C)
# apt-get --purge -u -d dselect-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
alsa-base* apt-utils* console-tools* gpppon* hotplug* kbd-compat* libsdl1.1* modconf* modutils* ppp* pppconfig* pppoe*
pppupd* pptpd* secvpn* svgatextmode* synaesthesia* sysvinit* util-linux* util-linux-locales* vim-perl* wmaker* wmppp.app*
xplanet* xplanet-images*
The following NEW packages will be installed:
hexcurse
The following packages will be upgraded
cpp cpp-2.95 dpkg dpkg-dev dpkg-doc equivs fbi g++ g++-2.95 gcc gcc-2.95 libadns1 libadns1-bin libarts libast1
libglade-gnome0 libglade0 libgtk-perl liblzo1 libqt2 libsmpeg0 libstdc++2.10-dev libstdc++2.10-glibc2.2 mixer.app ssh
ssh-askpass-gnome wmcpu wmdate
WARNING: The following essential packages will be removed
This should NOT be done unless you know exactly what you are doing!
sysvinit util-linux (due to sysvinit)
28 packages upgraded, 1 newly installed, 25 to remove and 4 not upgraded.
Need to get 7854kB of archives. After unpacking 16.0MB will be freed.
You are about to do something potentially harmful
To continue type in the phrase 'Yes, do as I say!'
?]
Sysvinit? Pardon me, apt?
I checked sysvinit, and it too has versioned dependencies. What an
evil concept, which appears to once again be running amok.
Pre-Depends: libc6 (>= 2.1.2)
Depends: dpkg (>= 1.4.0.21), mount (>= 2.7i-1), util-linux (>= 2.9t-2), e2fsprogs (>= 1.15-1)
Is this somehow the culprit, versioned dependency checking in apt being
screwed up?
"Depends: libc6 (>= 2.2.1-2) but 2.2.3-6 is to be installed" Pardon me, apt?
Last I knew, 2.2.3-6 was >= 2.2.1-2, but apparently apt no longer agrees.
-- System Information
Debian Release: post-2.2
Kernel Version: Linux phoenix 2.4.5 #1 Sun May 27 00:48:35 UTC 2001 i586 unknown
Versions of the packages apt depends on:
ii libc6 2.2.3-6 GNU C Library: Shared libraries and Timezone
ii libstdc++2.10- 2.95.4-0.01060 The GNU stdc++ library
Reply to: