On Friday 23 February 2007 18:49:18 Grant wrote: > > > How can I see which versions of hardened-sources portage thinks are > > > currently installed? I guess I should manually unmerge old sources as > > > above instead of using rm -rf. > > > > Yes, you can: > > > > $ equery list --duplicates [<searchstring>] > > > > In your case <searchstring> should be 'sources'. Without <searchstring> > > it looks for all duplicates, installed in so-called slots. > > It is true then that emerge --depclean never unmerges slotted packages?
Just how would portage know that an old slot is no longer needed? Just because a newer version is installed doesn't mean it's been compiled or that the old is no longer needed (you might need to compile some package against the old that fails to compile against the new)... For the more general case slot deps aren't allowed in the tree yet so it's not all that easy to figure out which slots are in use. You do risk breaking your system by pruning the wrong package.. Regardless, I do think app-portage/udept at least attempts to do this. I haven't tried it so I can't say how reliable it is, though. -- Bo Andresen
pgp6O5lHTspO4.pgp
Description: PGP signature