[gentoo-user] Re: uninstalling gnome

2003-07-13 Thread tobias . edler
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
-- 
 This message is made of 100 % recycled electrons
\..| PGP Key: www.stud.uni-goettingen.de/~s242275/pgpkey.pub (o_
.\.|--   Jabber:  te_linuxguru at amesasge.de(o  (o  //\
..\| ICQ: 124557012  (/)_(/)_V_/


pgp0.pgp
Description: PGP signature


Re: [gentoo-user] Re: uninstalling gnome

2003-07-13 Thread Andrew Gaffney
[EMAIL PROTECTED] wrote:
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


[gentoo-user] Re: uninstalling gnome

2003-07-13 Thread tobias . edler
On Sun, Jul 13, 2003 at 02:28:34AM, Andrew Gaffney wrote:
 emerge unmerge gnome  emerge -p depclean
 
 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.

Isn't this what emerge depclean does ? 
check if a package is a dependency of an installed package (= registered
in the worldfile) or a dependency of a dependency of an installed package?

Regards
TE
 
-- 
 This message is made of 100 % recycled electrons
\..| PGP Key: www.stud.uni-goettingen.de/~s242275/pgpkey.pub (o_
.\.|--   Jabber:  te_linuxguru at amesasge.de(o  (o  //\
..\| ICQ: 124557012  (/)_(/)_V_/


pgp0.pgp
Description: PGP signature


Re: [gentoo-user] Re: uninstalling gnome

2003-07-13 Thread Andrew Gaffney
[EMAIL PROTECTED] wrote:
On Sun, Jul 13, 2003 at 02:28:34AM, Andrew Gaffney wrote:

emerge unmerge gnome  emerge -p depclean
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.


Isn't this what emerge depclean does ? 
check if a package is a dependency of an installed package (= registered
in the worldfile) or a dependency of a dependency of an installed package?
Yes, but it doesn't seem to do it very well. Also, this program is 
specifically designed to uninstall multi-package programs like gnome or kde.

--
Andrew Gaffney
--
[EMAIL PROTECTED] mailing list