Richard Fish wrote:
cat /var/lib/portage/world | while read pkg; do count=`equery depends "$pkg" | wc -l` test $count -eq 0 && echo "pkg" done
Um, sorry, I'm a complete idiot sometimes. You want to remove from world packages that are included as a dependancy of something else. So that "-eq 0" above should be "-gt 0". But again, some results are not going to be safe to remove from world, like sys-libs/glibc.
Again, my apologies... -Richard -- gentoo-user@gentoo.org mailing list