RE: [SLE] Revert to old rpm package
![](https://seccdn.libravatar.org/avatar/ee21c7c037c7d9439d13097033e5d9ff.jpg?s=120&d=mm&r=g)
Bernd wrote on 05-Oct-2003:
Hello all,
I just tried something different, and found that I shouldn't have. Using 8.1 - I was trying to update my glibc from 2.2.5-152 to 2.3.2-72 > for an application I wanted to install... ----<text deleted>---
Well, I guess I need to revert back to the old version. I can't uninstall the new version, or install the old one, in Yast, using the yast command in the shell, or in kpackage. I can't use rpm -U --oldpackage either, I get a Segmentation fault.
How on earth do I revert to the old package???
Bernd, assuming the machine is still running, can you get it into "single user mode" by switch to "Ctrl-Alt-F1), log in as root, and do 'init 1"; change directory to where you have glibc-2.2.5-152.rpm (maybe you can put it in /home by itself) and then do "rpm -Uvh--oldpackage *.rpm By being in single user mode you may overcome your seg fault problem, at least it worked for me in a similar situation. YMMV. (can't remember if we had to add a "force") If it does install, don't forget to do "SuSEconfig" [and I usually do a "ldconfig -v" too] Good luck, HTH Gar PS I am not laughing at your situation, as you well know glibc is a key library, break it and the machine is no longer stable... __________________________________________________________________ McAfee VirusScan Online from the Netscape Network. Comprehensive protection for your entire computer. Get your free trial today! http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397 Get AOL Instant Messenger 5.1 free of charge. Download Now! http://aim.aol.com/aimnew/Aim/register.adp?promo=380455
![](https://seccdn.libravatar.org/avatar/58a18bce5de2a36bc4f60665ac9cdc62.jpg?s=120&d=mm&r=g)
On Sunday, 05 October, 2003 20:45, GarUlbricht7@netscape.net wrote: <snip>
Bernd, assuming the machine is still running, can you get it into "single user mode" by switch to "Ctrl-Alt-F1), log in as root, and do 'init 1"; change directory to where you have glibc-2.2.5-152.rpm (maybe you can put it in /home by itself) and then do "rpm -Uvh--oldpackage *.rpm
By being in single user mode you may overcome your seg fault problem, at least it worked for me in a similar situation. YMMV. (can't remember if we had to add a "force") If it does install, don't forget to do "SuSEconfig" [and I usually do a "ldconfig -v" too]
The machine seems to be running fine, except for the fact that I keep getting errors when trying to install anything. No go on the fix though! I'm still getting the seg fault. Other thoughts? Bernd -- "If you want to build a ship, don't drum up the men to gather wood, divide the work, and give orders. Instead, teach them to yearn for the vast and endless sea." Antoine de St. Exupery
![](https://seccdn.libravatar.org/avatar/4307eb8852dd9af80220a4702c49ece4.jpg?s=120&d=mm&r=g)
On Sun, 5 Oct 2003 23:21:38 -0700 Bernd <bernd@covenantmail.net> wrote:
On Sunday, 05 October, 2003 20:45, GarUlbricht7@netscape.net wrote: <snip>
Bernd, assuming the machine is still running, can you get it into "single user mode" by switch to "Ctrl-Alt-F1), log in as root, and do 'init 1"; change directory to where you have glibc-2.2.5-152.rpm (maybe you can put it in /home by itself) and then do "rpm -Uvh--oldpackage *.rpm
By being in single user mode you may overcome your seg fault problem, at least it worked for me in a similar situation. YMMV. (can't remember if we had to add a "force") If it does install, don't forget to do "SuSEconfig" [and I usually do a "ldconfig -v" too]
The machine seems to be running fine, except for the fact that I keep getting errors when trying to install anything. No go on the fix though! I'm still getting the seg fault. Other thoughts?
boot from a CD, mount your system and "execute" manually what the rpm should do... I'm not sure if and how you can change the installation path prefix of a built rpm (man rpm?)... but chrooting in your old system shouldn't help with the problem of segfaulting cos you'll start to use the installed lib if not yet loaded (mmm worth a try anyway). But beware since I'm not a sysadmin but just a humble programmer <g>, everytime I succede in such kind of things I feel like George Clooney in ER... but that's just a telefilm, not a production box.
participants (3)
-
Bernd
-
GarUlbricht7@netscape.net
-
Ivan Sergio Borgonovo