LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Help, I deleted glibc (https://www.linuxquestions.org/questions/linux-software-2/help-i-deleted-glibc-110790/)

MadCactus 10-31-2003 09:09 AM

Help, I deleted glibc
 
(previous thread I posted was closed...)

Problem: I did "rpm -e --nodeps glibc-oldversion" before installing new glibc 2.3.2. I had compiled it and was going to do "make install" but thought I'd get rid of the old version first... Doh!

Anyway I can boot using the Redhat CD, but I can't get root access to my installation... So when I go "rpm -ivh glibc-oldversion" or "make install" I get a "filesystem read-only error".

Anyone know what the script is here? :scratch:

I also noticed that the mount of /mnt/sysimage that the CD gives you in rescue mode didn't have all the dirs... Using mount /dev/hda2 /whatever they all show up allright (still get read-only message though).

jailbait 10-31-2003 10:24 AM

"Anyone know what the script is here?"

I would approach your problem this way:

Boot the Red Hat install disk into update mode. Then install only the old glibc package.

Then boot your desktop system.

To update the old glibc package to the new I would use checkinstall to create a rpm from the new glibc tarball.

http://asic-linux.com.mx/~izto/checkinstall/index.php

Then install the new glibc using rpm -U (see man rpm).
Immediately do:
ldconfig
and you should be all set.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites

MadCactus 11-04-2003 02:40 PM

Thanks man, actually had to do a regular, minimum install because update mode said my boot partition wasn't clean... It was!

It all works and I've not lost anything =D. I'm going to go and write a config backup script now...


All times are GMT -5. The time now is 06:46 AM.