On Mon, 16 Jul 2007 18:18:44 -0500, Samir Faci wrote: > So, I have a gentoo install that's slowly evolved over the past 3 > years or so years. It's now so cluttered with packages, it's becoming > ridiculous, especially for a headless server. What I'd like to do is > be able to remove all KDE/Gnome/X/gtk/qt/...etc out of the machine and > not have it break the machine completely.
After removing the USE flags, you need to run "emerge -uavDN world" to ensure that everything is built without the optional X support. Then run emerge --depclean -p. you could also edit your world file and remove any packages in there that you no longer need, or that are only installed as dependencies of other packages (these shouldn't be there in the first place, but it's easy to forget to use --oneshot at some time). > If I start removing packages, then revdep complains about dependencies > and ends pulling back the packages I had removed, same thing with > world. I globally removed all the X related flags I can think of. Start removing packages? If you only take pout some of what --depclean wants to remove, then revdep-rebuild is likely to want to reinstate some, because other packages still installed, but on the depclean list, need them. Unlike emerge, revdep-rebuild does not consider your world file or USE flags, but looks at the installed files and what they need, so you must complete depclean before running revdep-rebuild. Check the output of merge --depclean -p before removing anything, don't remove anything that looks critical without checking first. -- Neil Bothwick The box said 'needs Win95 or better' so I bought an Amiga.
signature.asc
Description: PGP signature

