Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
automatically unmerge older package release?
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
plm
n00b
n00b


Joined: 14 Apr 2002
Posts: 11

PostPosted: Sun Apr 14, 2002 5:53 am    Post subject: automatically unmerge older package release? Reply with quote

When I merge, say some-pkg-1.1-r3, the previous release remains installed too. Even using pkg-clean, supposed to find all doubly merged packages, doesn't find it (it only finds and unmerges double major releases).

Is there some flag to emerge that unmerges all older releases automatically after it has merged a newer version (--update)?
Back to top
View user's profile Send private message
fghellar
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Sun Apr 14, 2002 6:19 am    Post subject: Reply with quote

I don't know if it can currently be done automatically, but, after installing the newer version, you can remove all previous versions by doing
Code:
emerge unmerge \<some-pkg-1.1-r3

This will unmerge all versions of some-pkg previous to 1.1-r3. That \ is required to escape the <.
_________________
| www.gentoo.org | www.tldp.org | www.google.com |
Back to top
View user's profile Send private message
tkdack
n00b
n00b


Joined: 12 Apr 2002
Posts: 44
Location: Sydney, Australia

PostPosted: Tue Apr 16, 2002 4:19 am    Post subject: Reply with quote

IIRC with the new versions of portage you can do:

Code:
emerge --clean package

or
Code:
emerge --clean --update world


There is also the pkg-clean app that is part of the gentoolkit package.
_________________
Troy
http://linux.tkdack.com

Former Gentoo contributor TaD
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