1 |
On Tue, 04 Feb 2003 08:42:06 -0500 |
2 |
nealbirch <nealbirch@×××××.com> wrote: |
3 |
|
4 |
> Blake Watters wrote: |
5 |
> |
6 |
<deletia> |
7 |
> > Make sure you have gentoolkit installed and then: |
8 |
> > |
9 |
> > qpkg -I -nc -q gtk+ |
10 |
> > |
11 |
> > will give you a list of packages that depend on gtk+. You can |
12 |
> > redirect to a file, clean it up, and then run it through xargs to |
13 |
> > remove them all at once. |
14 |
> |
15 |
> Here is a one line wonder: |
16 |
> |
17 |
> for i in `qpkg -I -nc -q gtk+ | grep / | cut -d/ -f2`; do emerge |
18 |
> unmerge $i; done |
19 |
> |
20 |
Slight variation on the above using xargs |
21 |
|
22 |
qpkg -I -nc -q gtk+ | grep / | cut -d/ -f2 | xargs emerge unmerge -p |
23 |
|
24 |
of course remove the -p to actually unmerge. |
25 |
|
26 |
-- |
27 |
GnuPG KeyID 1607E7F7 |
28 |
Key fingerprint = 5C38 AA94 A4C1 6AAF 0EE4 C089 EE01 193D 1607 E7F7 |
29 |
gpg --keyserver search.keyserver.net --recv-keys 1607E7F7 |