Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Short cut for unmerging all packages that are not longer in the tree
Date: Thu, 22 Oct 2009 12:10:37
Message-Id: 200910221409.31169.alan.mckinnon@gmail.com
In Reply to: Re: [gentoo-user] Short cut for unmerging all packages that are not longer in the tree by Johannes Kimmel
1 On Thursday 22 October 2009 15:42:41 Johannes Kimmel wrote:
2 > Helmut Jarausch wrote:
3 > > Hi,
4 > >
5 > > is there an easy way to unmerge all packages which are no longer in
6 > > the current portage tree.
7 > > (Those make problems on update world)
8 > >
9 > > Many thanks for a hint,
10 > > Helmut.
11 >
12 > if packages are not in the portage tree, they should not be pulled in
13 > anymore. therefore "emerge --depclean" could help.
14
15 depclean only removes packages that it knows for a fact are no longer needed.
16 This means
17
18 - not in world
19 - not linked to by anything
20 - not depended on by anything
21
22 "not in the tree" is not part of that list. If you have a package in world
23 that is not in the tree anymore, depclean will leave it as is. It will remove
24 ancient mere deps that are somehow still lying around though
25
26 --
27 alan dot mckinnon at gmail dot com

Replies

Subject Author
Re: [gentoo-user] Short cut for unmerging all packages that are not longer in the tree "Jesús Guerrero" <i92guboj@×××××.es>