View previous topic :: View next topic |
Author |
Message |
plm n00b
Joined: 14 Apr 2002 Posts: 11
|
Posted: Sun Apr 14, 2002 5:53 am Post subject: automatically unmerge older package release? |
|
|
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 |
|
|
fghellar Bodhisattva
Joined: 10 Apr 2002 Posts: 856 Location: Porto Alegre, BR
|
Posted: Sun Apr 14, 2002 6:19 am Post subject: |
|
|
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 |
|
|
tkdack n00b
Joined: 12 Apr 2002 Posts: 44 Location: Sydney, Australia
|
Posted: Tue Apr 16, 2002 4:19 am Post subject: |
|
|
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 |
|
|
|