On Sun, Jul 13, 2003 at 12:44:20AM, Andrew Gaffney wrote:
Date: Sun, 13 Jul 2003 00:44:20 -0500 From: Andrew Gaffney <[EMAIL PROTECTED]> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030708 To: Gentoo User <[EMAIL PROTECTED]> Subject: [gentoo-user] uninstalling gnome
I've recently switched to fluxbox from Gnome. I now want to uninstall Gnome. I want to unmerge all of Gnome's dependencies that are not depended on by another package. Is there an easy way to go about this?
emerge unmerge gnome && emerge -p depclean Have a look at this list, al those are not dependencies of packages in your worldfile. if you want to keep some of them, add them to /var/cache/edb/world and the run emerge depclean Keep in mind that a change uf your USE flags may change this list a lot
I figured I'd try to throw my modest Perl programming skills at this problem. First my script will parse the output of 'emerge -ep gnome'. It will then run 'qpkg -q package' on every package in the list. If there is nothing that depends on it that wasn't in the first list after it, then it goes on the list of packages that are safe to delete. I'll post it when I get it working.
-- Andrew Gaffney
-- [EMAIL PROTECTED] mailing list
