LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-16-2004, 06:19 AM   #1
dhave
Member
 
Registered: Oct 2004
Location: still outside the Matrix
Distribution: Arch, formerly Gentoo and Slackware
Posts: 438

Rep: Reputation: 31
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.)

Last edited by dhave; 11-16-2004 at 06:22 AM.
 
Old 11-16-2004, 06:29 AM   #2
PenguinPwrdBox
Member
 
Registered: Oct 2003
Posts: 568

Rep: Reputation: 31
Boot from the Slackware CD.

At the boot> prompt, type in:

Code:
bare.i root=/dev/hd*
Where, in the above example, /dev/hd* is your root partition.

When you are booted, and logged in as root, do the follwing:

Code:
root@slackware#pkgtool
This brings up a GUI, similar to the one that you had at install. From your choices, "Install
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.
 
Old 11-16-2004, 06:29 AM   #3
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
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
 
Old 11-16-2004, 06:31 AM   #4
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
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

Last edited by Cedrik; 11-16-2004 at 06:33 AM.
 
Old 11-16-2004, 07:01 AM   #5
dhave
Member
 
Registered: Oct 2004
Location: still outside the Matrix
Distribution: Arch, formerly Gentoo and Slackware
Posts: 438

Original Poster
Rep: Reputation: 31
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 ... ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem installing glibc-2.3.2-4.80.i686, glibc-common-2.3.2-4.80.8.i386.rpm martianpackets Red Hat 8 05-01-2009 03:22 PM
how to restore glibc props666999 Slackware 15 06-06-2005 03:18 PM
Replacing glibc using linuxthreads for glibc using nptl (native positx thread library CestusGW Linux From Scratch 4 01-20-2005 07:26 AM
ncsd, glibc, and glibc-common conflicts during LAMP install beaker911 Linux - Software 0 12-30-2004 02:31 PM
glibc 2.3.2 => glibc 2.3.3 causes bash & syslog issues natetheros Red Hat 1 09-27-2004 01:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration