Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge -u world broke my glibc
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
gojuka
Apprentice
Apprentice


Joined: 18 Oct 2002
Posts: 235
Location: Kingston, Ontario, Canada

PostPosted: Tue Nov 19, 2002 6:19 pm    Post subject: emerge -u world broke my glibc Reply with quote

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
View user's profile Send private message
gojuka
Apprentice
Apprentice


Joined: 18 Oct 2002
Posts: 235
Location: Kingston, Ontario, Canada

PostPosted: Tue Nov 19, 2002 7:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Tue Nov 19, 2002 7:51 pm    Post subject: Reply with quote

That might not even be enough. You might want to take a look at Problem with glibc 2.3.1 being autocleaned+a few suggestions and/or Don't update glibc if your running unstable..
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
gojuka
Apprentice
Apprentice


Joined: 18 Oct 2002
Posts: 235
Location: Kingston, Ontario, Canada

PostPosted: Tue Nov 19, 2002 10:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
gojuka
Apprentice
Apprentice


Joined: 18 Oct 2002
Posts: 235
Location: Kingston, Ontario, Canada

PostPosted: Tue Nov 19, 2002 10:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
gojuka
Apprentice
Apprentice


Joined: 18 Oct 2002
Posts: 235
Location: Kingston, Ontario, Canada

PostPosted: Tue Nov 19, 2002 11:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2805
Location: Oceanside, Ca

PostPosted: Thu Nov 21, 2002 6:48 pm    Post subject: Reply with quote

In make.conf under Advanced Masking
ACCEPT_KEYWORDS="x86"
remove the ~ tilde ex: "~x86" that sets unstable, er the tilde flag does.

Heres a link to a informtive thread about it and how to get the occacsionl unstable package.

https://forums.gentoo.org/viewtopic.php?t=19409&start=25&postdays=0&postorder=asc&highlight=

hielvc


Last edited by hielvc on Wed Nov 27, 2002 2:38 am; edited 1 time in total
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20054

PostPosted: Thu Nov 21, 2002 9:06 pm    Post subject: Reply with quote

Moved from Newbies.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum