Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Repairing Gentoo Failure
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
quazar
n00b
n00b


Joined: 13 Oct 2002
Posts: 12
Location: Gainesville, GA

PostPosted: Tue Oct 29, 2002 1:36 am    Post subject: Repairing Gentoo Failure Reply with quote

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


Joined: 13 Jun 2002
Posts: 355

PostPosted: Tue Oct 29, 2002 3:23 am    Post subject: Reply with quote

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


Joined: 13 Oct 2002
Posts: 12
Location: Gainesville, GA

PostPosted: Tue Oct 29, 2002 11:32 pm    Post subject: Re: Repairing Gentoo Failure Reply with quote

n0n - Excellent advise !! We have done that, and took our gamble, and what do you know? It worked !! :D


Thanks for your contribution to this great cause,
quazar[/quote]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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