From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <238b7e7cba72af5f1262cb288ddcd44b.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199712200706.AAA02995@ellpspace.math.ualberta.ca> Date: Sat, 20 Dec 1997 00:06:01 -0700 (MST) From: Michal Jaegermann Subject: Re: glibc RPM disaster In-Reply-To: > > I installed glibc-2.0.5c-11.alpha.rpm from the errata directory. Now my > system is fubar. The installation of the RPM failed "failed" really means what? Such small details are important! > and after that, the system was unusable. If this is like it was on 4.2, and most likely it is but I am guessing, then one of rpms messed up links in your /usr/lib/ directory. If I remember correctly this was /usr/lib/libtk* which was left with a link pointing to nowhere. This was causing an exception in 'ldconfig' (a bug, but that's life until somebody will fix it) leaving an empty /etc/ld.so.cache. After such sequence of events your system will behave very poorly indeed. A cure for the above is to restore link sanity in /usr/lib and to rerun ldconfig - this time without bombing out. > When I tried to reboot, I got: In such situation a very bad move. > init: error in loading shared libraries This would support my conjecture. ldconfig runs in a startup sequence with results as above and you are goner. > libc.so.6.1: cannot open shared object file: No such file or directory. Indeed; an empty /etc/ld.so.cache is consulted resulting in the above. > What I need help with is after I boot from the install floppy and select an > upgrade, I can switch to a console, but how do I do the RPM commands? You don't! Mount your disk read/write, go to usr/lib there (not /usr/lib!), fix links and try to reboot. With fixed links ldconfig will rebuild /etc/ld.so.cache and everything will be happy. Michal -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com