On 7/16/07, Samir Faci <[EMAIL PROTECTED]> wrote:
Hi all,

   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.

Any suggestion on how to do go about this?  At this stage, I'd like the
server to have  the basic system build, LAMP, and Postfix.

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.

Also, in the process of switching to a hardened profile, which is one reason
why I wanted to clean up the install.

Thanks again,

Any help would be appreciated.

--
Samir


Hi Samir,
  You'll probably get some answers more detailed than mine but
fundamentally it goes something like this:

1) First do and emerge -DuN world and make sure everything is up to date.

2) By hand then emerge -C everything (for instance) with gnome or kde
in the package name.

3) Next do an emerge --depclean and let portage remove packages that
were needed for gnome or kde but not required now

4) Do a revdep-rebuild and see what it wants to pull in. If it's
trying to pull in something you don't think is necessary then do an
emerge -pe --tree and look at why it's getting pulled in. Either
remove what's causing it to get rebuilt or let it get pulled back in.

  At this point it's lather and repeat if necessary.

  I've done this a couple of times. It' works but be careful that you
don't reboot during the process as something might be gone that's
still necessary.

Hope this helps,
Mark
--
[EMAIL PROTECTED] mailing list

Reply via email to