View previous topic :: View next topic |
Author |
Message |
gojuka Apprentice
Joined: 18 Oct 2002 Posts: 235 Location: Kingston, Ontario, Canada
|
Posted: Tue Nov 19, 2002 6:19 pm Post subject: emerge -u world broke my glibc |
|
|
I started an update (`emerge -u world`) on my system ... and it crapped out part way through. My glibc has been broken somewhere along the way:
markd@moria markd $ su -
su: /lib/libc.so.6: version `GLIBC_2.3' not found (required by su)
su: /lib/libc.so.6: version `GLIBC_2.3' not found (required by /usr/lib/libcrack.so.2)
markd@moria markd $
Any idea what I should do from here?
Mark _________________ we're outta control |
|
Back to top |
|
|
gojuka Apprentice
Joined: 18 Oct 2002 Posts: 235 Location: Kingston, Ontario, Canada
|
Posted: Tue Nov 19, 2002 7:03 pm Post subject: |
|
|
Just a wild assed guess ... am I going to have to boot from the install CD, do the whole chroot thing again and run emerge from there?
Mark _________________ we're outta control |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
|
Back to top |
|
|
gojuka Apprentice
Joined: 18 Oct 2002 Posts: 235 Location: Kingston, Ontario, Canada
|
Posted: Tue Nov 19, 2002 10:09 pm Post subject: |
|
|
It's not. I tried it and it fails when I try to chroot into /mnt/gentoo ... since GLIBC is broken in there are bash (and everything else) requires it.
Thanks for the links. I'll have a look.
Mark _________________ we're outta control |
|
Back to top |
|
|
gojuka Apprentice
Joined: 18 Oct 2002 Posts: 235 Location: Kingston, Ontario, Canada
|
Posted: Tue Nov 19, 2002 10:28 pm Post subject: |
|
|
Hmmm, too many suggestions for a fix!
I am not sure what to try at this point but the "re-linking" idea seems somewhat promising and simple. Looking at my broken system, I seem to have 2.3.1 and 2.2.5 versions of each library, but all the soft links point at the 2.2.5 versions. However, I cannot say if I have a complete set of either.
Anyway, I am going to try the long and tedious process of relinking the softlinks. At least if I can relink the ones required to run bash, emerge, and whatever else is required just to "recover" then I'll be happy.
Mark _________________ we're outta control |
|
Back to top |
|
|
gojuka Apprentice
Joined: 18 Oct 2002 Posts: 235 Location: Kingston, Ontario, Canada
|
Posted: Tue Nov 19, 2002 11:33 pm Post subject: |
|
|
So I hope I am doing the right thing. "The Right Thing" is not entirely clear from the other threads on this. I've corrected all the "broken" links pointing at glibc 2.2.5 libs and now I am re-emerging glibc 2.3.1.
I guess the last question is, how do I prevent this kind of thing from re-occuring without losing the ability to "emerge world"?
I only chose the unstable packages because there was one package in there I wanted. Perhaps I should just go back to stable? Can that be done?
Mark _________________ we're outta control |
|
Back to top |
|
|
hielvc Advocate
Joined: 19 Apr 2002 Posts: 2805 Location: Oceanside, Ca
|
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20054
|
Posted: Thu Nov 21, 2002 9:06 pm Post subject: |
|
|
Moved from Newbies. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
|