On Thursday 22 October 2009 15:42:41 Johannes Kimmel wrote: > Helmut Jarausch wrote: > > Hi, > > > > is there an easy way to unmerge all packages which are no longer in > > the current portage tree. > > (Those make problems on update world) > > > > Many thanks for a hint, > > Helmut. > > if packages are not in the portage tree, they should not be pulled in > anymore. therefore "emerge --depclean" could help.
depclean only removes packages that it knows for a fact are no longer needed. This means - not in world - not linked to by anything - not depended on by anything "not in the tree" is not part of that list. If you have a package in world that is not in the tree anymore, depclean will leave it as is. It will remove ancient mere deps that are somehow still lying around though -- alan dot mckinnon at gmail dot com