View previous topic :: View next topic |
Author |
Message |
conio n00b
Joined: 29 Dec 2002 Posts: 9
|
Posted: Fri Dec 19, 2003 12:42 am Post subject: Tip: Need to unmerge a meta-package like gnome-base/gnome? |
|
|
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 |
|
|
conio n00b
Joined: 29 Dec 2002 Posts: 9
|
Posted: Sat Dec 20, 2003 7:20 pm Post subject: |
|
|
Bump in hopes that someone might find this useful. |
|
Back to top |
|
|
norvillebarnes Tux's lil' helper
Joined: 28 Jun 2003 Posts: 116 Location: Sudbury, ON Canada
|
Posted: Sat Dec 20, 2003 11:16 pm Post subject: |
|
|
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 |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Sun Dec 21, 2003 1:56 pm Post subject: |
|
|
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 |
|
|
quietsky n00b
Joined: 22 Mar 2004 Posts: 7
|
Posted: Tue Mar 30, 2004 3:44 am Post subject: |
|
|
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 |
|
|
eeknay Guru
Joined: 07 Jul 2003 Posts: 402 Location: EndOfTheRainbow
|
Posted: Wed Mar 31, 2004 9:45 am Post subject: |
|
|
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 |
|
|
eeknay Guru
Joined: 07 Jul 2003 Posts: 402 Location: EndOfTheRainbow
|
Posted: Wed Mar 31, 2004 9:54 am Post subject: |
|
|
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 |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Wed Mar 31, 2004 3:30 pm Post subject: Re: Tip: Need to unmerge a meta-package like gnome-base/gnom |
|
|
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. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
DaDanny n00b
Joined: 17 Oct 2003 Posts: 23
|
Posted: Fri Apr 02, 2004 12:53 pm Post subject: |
|
|
wow!
thanks 4 this! tried with gnome and seems to work fine! |
|
Back to top |
|
|
revertex l33t
Joined: 23 Apr 2003 Posts: 806
|
Posted: Wed Apr 28, 2004 12:38 am Post subject: |
|
|
Thank's, time to get rid off all kde/gnome bloatware an redo my minimalistic fluxbox. |
|
Back to top |
|
|
Bombs14 Tux's lil' helper
Joined: 03 Sep 2003 Posts: 140
|
Posted: Sat Oct 30, 2004 9:12 am Post subject: |
|
|
amazing! thanks! |
|
Back to top |
|
|
uman Apprentice
Joined: 20 Dec 2004 Posts: 223
|
Posted: Wed Feb 23, 2005 5:36 am Post subject: |
|
|
YOU RULE DUDE! *goes off to kill gnome* |
|
Back to top |
|
|
iverson0881 Apprentice
Joined: 08 Jan 2004 Posts: 285 Location: CA
|
Posted: Wed Feb 23, 2005 6:27 am Post subject: |
|
|
NICE i was able to kill off kde-3.3 without affecting 3.4 split ebuilds =) |
|
Back to top |
|
|
Mr. Garr Tux's lil' helper
Joined: 27 Jun 2003 Posts: 130 Location: Shangri-La
|
Posted: Sun Aug 14, 2005 7:22 am Post subject: |
|
|
hmm i emerged gentoolkit but it still says that:
Code: |
bash: qpkg: command not found
|
_________________ Illuminatus Primus |
|
Back to top |
|
|
fank l33t
Joined: 16 Oct 2004 Posts: 794 Location: Minsk, Belarus
|
Posted: Sun Aug 14, 2005 12:07 pm Post subject: |
|
|
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 |
|
|
tuXXX n00b
Joined: 01 Apr 2005 Posts: 32 Location: France/Brest
|
Posted: Sun Aug 14, 2005 10:24 pm Post subject: |
|
|
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 |
|
|
|