View previous topic :: View next topic |
Author |
Message |
quazar n00b
Joined: 13 Oct 2002 Posts: 12 Location: Gainesville, GA
|
Posted: Tue Oct 29, 2002 1:36 am Post subject: Repairing Gentoo Failure |
|
|
I had this problem a while back, and it has struck once again, this time on a friends computer.
To make a long story short, bash was unmerged, and emerge and ebuild no longer functioned.
System was booted back up to the Gentoo 1.4 rc1 CD, drives mounted, and stage1 tarball was extracted.
Upon the following reboot, system was logged back into, and emerge clean was ran. Here is what we saw:
# emerge clean
sys-libs/glibc
selected: 2.2.5-r6
protected: 2.2.5-r7
omitted: none
sys-apps/baselayout
selected: 1.8.3
protected: 1.8.4.1
omitted: none
>>> Packages in red are slated for removal.
>>> Packages in green will not be removed.
>>> Waiting 5 seconds before starting unmerge.
>>> (Control-C to abort)...
It wants to remove the baselayout and glibc. The problem is, 1.8.4.1 of the baselayout basically is non existant at this point, becuase of the stage1 tarball re-extraction.
Is there a way to modify the portage database on the local system, so that it only thinks that one of those copies is running?
Im assuming they need to think that the older copies of both packages should be the only ones "thought" to be installed.
Thanks in advance,
quazar |
|
Back to top |
|
|
n0n Guru
Joined: 13 Jun 2002 Posts: 355
|
Posted: Tue Oct 29, 2002 3:23 am Post subject: |
|
|
Personally, I'd do this:
Code: | emerge glibc baselayout |
To make sure that glibc and baselayout are installed properly (do a -p first, obviously), and then do the "emerge clean." You should be good to go. Also, if you're worried about "emerge clean" getting rid of things that it shouldn't, part of a script I wrote will show you what files portage will actually delete when doing the clean. You can find it here. It does more than just that, but functionality is there. |
|
Back to top |
|
|
quazar n00b
Joined: 13 Oct 2002 Posts: 12 Location: Gainesville, GA
|
Posted: Tue Oct 29, 2002 11:32 pm Post subject: Re: Repairing Gentoo Failure |
|
|
n0n - Excellent advise !! We have done that, and took our gamble, and what do you know? It worked !!
Thanks for your contribution to this great cause,
quazar[/quote] |
|
Back to top |
|
|
|
|
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
|
|