Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Tip: Need to unmerge a meta-package like gnome-base/gnome?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
conio
n00b
n00b


Joined: 29 Dec 2002
Posts: 9

PostPosted: Fri Dec 19, 2003 12:42 am    Post subject: Tip: Need to unmerge a meta-package like gnome-base/gnome? Reply with quote

If you don't have qpkg, emerge gentoolkit. Then try
Code:
qpkg -nc -q -I -v PACKAGE | grep '^[a-z]' | sed 's/^/=/' | xargs emerge unmerge

where PACKAGE is the name of the meta-package you want to remove (like "gnome"). This will unmerge PACKAGE, along with all packages depending on it. As always, use the -p flag with emerge beforehand to make sure you're not going to nuke anything important.

Hope this helps!
Back to top
View user's profile Send private message
conio
n00b
n00b


Joined: 29 Dec 2002
Posts: 9

PostPosted: Sat Dec 20, 2003 7:20 pm    Post subject: Reply with quote

Bump in hopes that someone might find this useful.
Back to top
View user's profile Send private message
norvillebarnes
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jun 2003
Posts: 116
Location: Sudbury, ON Canada

PostPosted: Sat Dec 20, 2003 11:16 pm    Post subject: Reply with quote

Looks pretty good. I tried it with the KDE meta that I have installed and the only packages that were shown were the ones from the meta build. Thanks for the tip.
Al.
Back to top
View user's profile Send private message
pilla
Administrator
Administrator


Joined: 07 Aug 2002
Posts: 7692
Location: Pelotas, BR

PostPosted: Sun Dec 21, 2003 1:56 pm    Post subject: Reply with quote

Tips are supposed to be posted at documentation, tips & tricks


Moved.

[edit] sorry, moved to wrong forum.
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
quietsky
n00b
n00b


Joined: 22 Mar 2004
Posts: 7

PostPosted: Tue Mar 30, 2004 3:44 am    Post subject: Reply with quote

I read that this is being referred to as a 'simple solution' elsewhere.

While not adverse to command line wizardry, 'simple' would be having an 'emerge uninstall' or similar command that produces the same net effect.

from a victim of 'emerge depclean'...
_________________
Philippe Paravicini
eCommerce Developer
Back to top
View user's profile Send private message
eeknay
Guru
Guru


Joined: 07 Jul 2003
Posts: 402
Location: EndOfTheRainbow

PostPosted: Wed Mar 31, 2004 9:45 am    Post subject: Reply with quote

could you please give me an example with unmerging gnome, it does not seem to work here.

eeknay
_________________
Linda: "The holiday season is time of celebration for most but it is also the time to remember the tragic suffering of the less fortunate."
Morbo: "Earthlings do not yet know the meaning of suffering."
Back to top
View user's profile Send private message
eeknay
Guru
Guru


Joined: 07 Jul 2003
Posts: 402
Location: EndOfTheRainbow

PostPosted: Wed Mar 31, 2004 9:54 am    Post subject: Reply with quote

sorry, I seem to have mistyped something.
_________________
Linda: "The holiday season is time of celebration for most but it is also the time to remember the tragic suffering of the less fortunate."
Morbo: "Earthlings do not yet know the meaning of suffering."
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 17812

PostPosted: Wed Mar 31, 2004 3:30 pm    Post subject: Re: Tip: Need to unmerge a meta-package like gnome-base/gnom Reply with quote

Code:
qpkg -nc -q -I -v gnome | grep '^[a-z]' | sed 's/^/=/' | xargs emerge unmerge
I haven't tried it, but that would be my guess.
_________________

Believing I had supernatural powers I slammed into a brick wall.
I said hey, is this my problem? Is this my fault?
Back to top
View user's profile Send private message
DaDanny
n00b
n00b


Joined: 17 Oct 2003
Posts: 23

PostPosted: Fri Apr 02, 2004 12:53 pm    Post subject: Reply with quote

wow!
thanks 4 this! tried with gnome and seems to work fine!
Back to top
View user's profile Send private message
revertex
l33t
l33t


Joined: 23 Apr 2003
Posts: 806

PostPosted: Wed Apr 28, 2004 12:38 am    Post subject: Reply with quote

Thank's, time to get rid off all kde/gnome bloatware an redo my minimalistic fluxbox.
Back to top
View user's profile Send private message
Bombs14
Tux's lil' helper
Tux's lil' helper


Joined: 03 Sep 2003
Posts: 140

PostPosted: Sat Oct 30, 2004 9:12 am    Post subject: Reply with quote

amazing! thanks! :lol:
Back to top
View user's profile Send private message
uman
Apprentice
Apprentice


Joined: 20 Dec 2004
Posts: 223

PostPosted: Wed Feb 23, 2005 5:36 am    Post subject: Reply with quote

YOU RULE DUDE! *goes off to kill gnome*
Back to top
View user's profile Send private message
iverson0881
Apprentice
Apprentice


Joined: 08 Jan 2004
Posts: 285
Location: CA

PostPosted: Wed Feb 23, 2005 6:27 am    Post subject: Reply with quote

NICE i was able to kill off kde-3.3 without affecting 3.4 split ebuilds =)
Back to top
View user's profile Send private message
Mr. Garr
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jun 2003
Posts: 130
Location: Shangri-La

PostPosted: Sun Aug 14, 2005 7:22 am    Post subject: Reply with quote

hmm i emerged gentoolkit but it still says that:
Code:

bash: qpkg: command not found

_________________
Illuminatus Primus
Back to top
View user's profile Send private message
fank
l33t
l33t


Joined: 16 Oct 2004
Posts: 794
Location: Minsk, Belarus

PostPosted: Sun Aug 14, 2005 12:07 pm    Post subject: Reply with quote

Mr. Garr wrote:
hmm i emerged gentoolkit but it still says that:
Code:

bash: qpkg: command not found

it is DEPRECATED in new versions, but you can find it here:/usr/share/doc/gentoolkit-0.2.1_pre4/deprecated/qpkg/qpkg
please update this excellent shellcode for equery tool
Back to top
View user's profile Send private message
tuXXX
n00b
n00b


Joined: 01 Apr 2005
Posts: 32
Location: France/Brest

PostPosted: Sun Aug 14, 2005 10:24 pm    Post subject: Reply with quote

fank wrote:
Mr. Garr wrote:
hmm i emerged gentoolkit but it still says that:
Code:

bash: qpkg: command not found

it is DEPRECATED in new versions, but you can find it here:/usr/share/doc/gentoolkit-0.2.1_pre4/deprecated/qpkg/qpkg
please update this excellent shellcode for equery tool

like this?
Code:
equery -C g PACKAGE | grep -E '^ ?`--' | awk '{print "="$2}' | xargs emerge -C

(woks with gnome but not kde...)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum