1 |
Richard Fish wrote: |
2 |
|
3 |
> |
4 |
> cat /var/lib/portage/world | while read pkg; do |
5 |
> count=`equery depends "$pkg" | wc -l` |
6 |
> test $count -eq 0 && echo "pkg" |
7 |
> done |
8 |
|
9 |
|
10 |
Um, sorry, I'm a complete idiot sometimes. You want to remove from |
11 |
world packages that are included as a dependancy of something else. So |
12 |
that "-eq 0" above should be "-gt 0". But again, some results are not |
13 |
going to be safe to remove from world, like sys-libs/glibc. |
14 |
|
15 |
Again, my apologies... |
16 |
|
17 |
|
18 |
-Richard |
19 |
|
20 |
-- |
21 |
gentoo-user@g.o mailing list |