Suicidal tendencies (or, how do I restore glibc?)
To try fix a persistent problem, I just did "removepkg glibc", and, as a result, I can't get back into my Slackware system. (I was going to reinstall glibc right away, but it wasn't possible since I crippled my system.)
Can I use the installation CD to just reinstall the glibc package(s)? Will this leave the rest of my stuff intact? Are there any special procedures I'll need to follow? I really don't want to zap everything or otherwise do more damage than I already have. Thanks for your help -- and for your patience. (Boy, it sure is easy to think you know more than you do! No more tweaking, no more tweaking, no more tweaking ... bad, bad bad.) |
Boot from the Slackware CD.
At the boot> prompt, type in: Code:
bare.i root=/dev/hd* When you are booted, and logged in as root, do the follwing: Code:
root@slackware#pkgtool packages from the current directory......", etc, choose "Choose Slackware installation scripts to run again" I believe this is part of package "G" Good luck, dude. |
you can use install cd to reinstall glibc.
make sure u backup /etc/ld.so.conf, restore it after the install. better use runlevel 3 to reboot after installing, and do ldconfig after rebooting. I don't know how removepkg works. If it uses a database like rpm does, you may have to fix the database again, since it might be corrupted |
It arrived to me the same thing, be quiet ;)
I did solve this by just copying the /lib/libc* from the CD to the /lib dir of my root / mounted from the install CD. After that I did upgrade glibc |
To PenguinPwrdBox, perfect_circle and Cedrik:
I'm back in again. I have just transferred a large sum of money into your Swiss bank accounts. Thanks! And thanks for not making me feel like a big idiot. And, no, I'm sure I haven't learned my lesson. If Slackware is this easy to fix, well, I think I should just tweak away to my heart's content! Let's see, what shall I break now ... ? |
All times are GMT -5. The time now is 03:45 PM. |