On Fri, Mar 04, 2005 at 01:15:49PM -0500, Carl Reynolds wrote:
Axel Thimm wrote:
... apt claims you haven't updated glibc, have you? Should be glibc-2.3.4-2.fc3.
If your installed package is still the old one, yum messed up, if it's the new old apt messed up.
For good measure, I'd make sure my rpm database is in order. Try this:
rm -f /var/lib/rpm/__* LD_ASSUME_KERNEL=2.4.1 rpm --rebuilddb
Then try again the yum/apt commands.
Hi Axel,
I had already updated with up2date by the time I got your message. It is possible that it updated glibc. I didn't notice. However, I do have the 2.3.4-2fc3 version of glibc installed. # rpm -q --qf '%{name}-%{version}-%{release} %{arch}\n' glibc glibc-2.3.4-2.fc3 x86_64
As you suggested, I rebuilt the rpm database: # rm -f /var/lib/rpm/__db.00* # LD_ASSUME_KERNEL=2.4.1 rpm --rebuilddb
Then I redid the yum and apt commands to see what would happen. The results are at the end of the message. You will notice that the apt-get upgrade works, although it does list some packages as being held back. I don't know if this indicates a problem or not.
apt-get dist-upgrade wants to remove a number of critical packages so I didn't continue with apt from that point.
No, this looks really bad. If you like to hunt this down further, you could try to apt-get install the held back packages one by one (or row by row) to see what apt-get's reaction is. If it succeeds, then apt-get dist-upgrade has a bug. If it doesn't we'll know which package is causing havoc on your system.
(did you apt-get update after rebuilding the rpm database?)
# apt-get upgrade Reading Package Lists... Done Building Dependency Tree... Done The following packages have been kept back acl alsa-lib alsa-lib-devel alsa-utils beecrypt diffstat docbook-dtds fedora-release fetchmail flac freeglut glib2 glib2-devel gnupg howl lftp libacl libgcrypt libgpg-error libraw1394 libselinux libselinux-devel libxml2 libxml2-devel libxml2-python libxslt libxslt-devel lm_sensors module-init-tools mutt openjade perl-HTML-Parser perl-XML-LibXML perl-XML-Parser perl-XML-Twig pkgconfig popt pyxf86config rhn-applet rhnlib rpm rpm-build rpm-devel rpm-python tcl up2date up2date-gnome yum zlib zlib-devel 0 upgraded, 0 newly installed, 0 removed and 50 not upgraded.
# apt-get dist-upgrade Reading Package Lists... Done Building Dependency Tree... Done Calculating Upgrade... Done The following packages will be upgraded docbook-dtds fedora-release perl-XML-Twig rhnlib The following packages will be REMOVED: atrpms-kickstart firstboot kdeaddons kdemultimedia rhn-applet rpm rpm-build rpm-devel rpm-python system-config-network system-config-network-tui system-config-packages system-config-users up2date up2date-gnome yum The following NEW packages will be installed: atrpms atrpms-package-config docbook-style-dsssl elfutils-devel elfutils-libelf-devel nptl-devel perl-XML-XPath pythonabi The following packages have been kept back acl alsa-lib alsa-lib-devel alsa-utils beecrypt diffstat fetchmail flac freeglut glib2 glib2-devel gnupg howl lftp libacl libgcrypt libgpg-error libraw1394 libselinux libselinux-devel libxml2 libxml2-devel libxml2-python libxslt libxslt-devel lm_sensors module-init-tools mutt openjade perl-HTML-Parser perl-XML-LibXML perl-XML-Parser pkgconfig popt pyxf86config tcl zlib zlib-devel WARNING: The following essential packages will be removed This should NOT be done unless you know exactly what you are doing! rpm 4 upgraded, 8 newly installed, 16 removed and 38 not upgraded. Need to get 2596kB of archives. After unpacking 73.9MB disk space will be freed. You are about to do something potentially harmful To continue type in the phrase 'Yes, do as I say!' ?] no Abort.