View previous topic :: View next topic |
Author |
Message |
bytenirvana Apprentice
Joined: 10 Jun 2006 Posts: 218 Location: Volksstaat Hessen
|
Posted: Thu Nov 06, 2008 9:00 am Post subject: [solved] SOS - glibc unmerged |
|
|
Help!
I accidentally unmerged glibc from my main computer!
(As far as I understand it, glibc is the gatekeeper for C, so a lot of necesary system tools like cd, cp, mv are not working. The machine also can't boot of course)
I can boot from a LiveCD, chrooting is not functioning, However I can mount proc etc. and I have a quickpkg from glibc from a similar other computer. However I don't really have a clue were to place it and what I have to look for too (symlinks? where? whereto?) _________________ Linux User #422770
Last edited by bytenirvana on Tue Nov 11, 2008 7:29 pm; edited 1 time in total |
|
Back to top |
|
|
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
Posted: Thu Nov 06, 2008 9:18 am Post subject: |
|
|
bytenirvana wrote: | I can boot from a LiveCD, chrooting is not functioning, However I can mount proc etc. and I have a quickpkg from glibc from a similar other computer. | How similar?
bytenirvana wrote: | However I don't really have a clue were to place it and what I have to look for too (symlinks? where? whereto?) | If, only if, the package you have is compatible and of an at least equivalent version, simply unpack it at the root of the installed system once you have mounted any necessary partitions. Having done that, reboot or use chroot use then run emerge -K sys-libs/glibc, or preferably specify which version. At that point you could rebuild it locally if desired. |
|
Back to top |
|
|
Letharion Veteran
Joined: 13 Jun 2005 Posts: 1344 Location: Sweden
|
Posted: Thu Nov 06, 2008 12:05 pm Post subject: |
|
|
If the above doesn't help, and IIRC, some kind forum member have finished binaries (for x86?) for some important system stuff(gcc, glibc, etc), in case something like this would happen.
I don't remeber what thread I read this in however, so I can't provide much more information, sry. |
|
Back to top |
|
|
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
|
Back to top |
|
|
Letharion Veteran
Joined: 13 Jun 2005 Posts: 1344 Location: Sweden
|
Posted: Fri Nov 07, 2008 9:12 am Post subject: |
|
|
Haha, oops
My bad |
|
Back to top |
|
|
bytenirvana Apprentice
Joined: 10 Jun 2006 Posts: 218 Location: Volksstaat Hessen
|
Posted: Tue Nov 11, 2008 7:28 pm Post subject: |
|
|
Yeah this helped. Writing this post from the machine.
I unpacked the package in the root directory (there were 4 folder with files). Then I could chroot into the Gentoo enviroment, emerged glibc, updated the dependencies and it could boot again. thx 4 ur help.
btw: the Ubunte LiveCD is REALLY great! _________________ Linux User #422770 |
|
Back to top |
|
|
|