On Sat, 25 Apr 2009 20:39:52 -0700, fe...@crowfix.com wrote: > I am probably in that very situation. My world file is 5794 lines > long. I didn't know about -1 and frankly don't understand it. If I > remerge a package which is not in world, why is it added to world? I > had seen a few vague references to -1, but just assumed that portage > was smart enough to only add new packages.
How does it know what you want if you don't tell it? > But now is now, and I have a huge world file. How does one clean up > such a beast? It's a little time-consuming, but the best way is to edit the world file and remove everything that you don't actually run yourself. Be strict here, for example you should remove everything for X,because you don't need X, only your desktop programs need it. Then run emerge --depclean -p. For each package listed, decide whether you need it, in which case add it to world with emerge -n, or unmerge it. Repeat this until emerge --depclean -p returned no packages. You'll probably find you have a smaller set of packages installed as you current world will contain packages that were either dependencies of programs you have uninstalled or are no longer dependencies of existing packages. Screwing up and cleaning up your world file can be considered part of the Gentoo learning curve :) Incidentally, I almost always install software with --oneshot. That way the programs I install to try out show up on --depclean's output until I decide I want to keep them. It prevents accumulating cruft from various experiments, although I am now using sets to achieve the same end. -- Neil Bothwick Electricians DO IT until it Hz...
signature.asc
Description: PGP signature