On Mon, 02 Jan 2012 11:09:06 -0500, Michael Orlitzky wrote: > Fine for your home PC, doesn't cut it on servers. I have the following > in one of my world files: > > dev-php/PEAR-Mail > dev-php/PEAR-Mail_Mime > dev-php/PEAR-PEAR > dev-php/PEAR-Structures_Graph > > which of those do I want? At least one of them was installed to support > a customer's custom PHP application. Maybe all of them were and they > all belong in world. No one knows, this server is older than the > current --update behavior. > > So which ones can I remove?
I use sets to deal with this, so much simpler to organise than a single world file. If I am installing something from outside of portage and it has dependencies, I create a set listing those dependencies and emerge that set. If I remove the package I can remove the set and depclean will unmerge anything not needed by other packages. For example, I use a perl script called zenus (specific to my ISP) and /etc/portage/sets/zenus-deps contains dev-perl/SOAP-Lite perl-gcpan/SOAP-DateTime dev-perl/Class-Inspector dev-perl/Data-Dumper-Concise Those packages may or may not be needed by anything else, but a set means I keep them installed without cluttering world. I do similar for specific projects, especially short term ones so I can clean up after. -- Neil Bothwick Committee (noun): A group of people spending hours taking minutes
signature.asc
Description: PGP signature