Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge clean deleted itself - thats not very elegant
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Loke
Apprentice
Apprentice


Joined: 25 May 2002
Posts: 274
Location: Norway

PostPosted: Fri Jul 19, 2002 2:13 am    Post subject: emerge clean deleted itself - thats not very elegant Reply with quote

Ok,

Might be me who's stupid here, but after doing a 'emerge -p clean' and looking over every package to see that I *didnt* delete anything which didnt have a newer version installed. After issuing the command, the portage package was emerged aswell - not smart, but this thread helped me recover easily:

https://forums.gentoo.org/viewtopic.php?t=8711&highlight=emerge

Now after inspecting 'emerge -p clean' again, I notice:

sys-apps/portage
selected: 2.0.13 1.9.13 1.9.13-r1
protected: 2.0.1
omitted: none

Thats strange. Why is 2.0.1 protected and not the latest version?
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Sat Jul 20, 2002 8:49 am    Post subject: Reply with quote

Could you run the following commands, please?
Code:
$ ls -l /etc/make.profile
$ grep sys-apps/portage /etc/make.profile/packages

If your database isn't corrupt, perhaps something is locking you to an outdated portage version.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
handsomepete
Guru
Guru


Joined: 21 Apr 2002
Posts: 548
Location: Kansas City, MO

PostPosted: Sat Jul 20, 2002 8:56 pm    Post subject: Reply with quote

Maybe check your package.mask and try re-emerging portage and try it again. Mine shows 2.0.13 protected as it should be.
Back to top
View user's profile Send private message
BoBB
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jun 2002
Posts: 143
Location: Mesa, AZ

PostPosted: Sat Jul 20, 2002 9:44 pm    Post subject: Reply with quote

try an emerge --clean first? this will update your package.mask and update your tree, obviously emerge -p clean doesn't know about 2.0.13
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Sun Jul 21, 2002 1:37 am    Post subject: Reply with quote

I believe 2.0.13 came into emerge and was masked for a bit after that. Depending on when you rsync'ed, you may have this result. Try:
Code:

emerge --clean rsync

and it should be OK. I usually check the datestamp on /usr/portage/profiles/package.mask to check whether the mirror I synced with is up to date. It does not always have to be and things that are off by a day or two can cause weird results like what you cite above.

BoBB wrote:
try an emerge --clean first? this will update your package.mask and update your tree, obviously emerge -p clean doesn't know about 2.0.13
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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