qpkg -f /usr/kde/3.3/some-file
emerge -va prune the-package-found-if-it-is-part-of-kde

Thanks for this very useful hint! I have managed to free a lot
of precious disk space!!

I did it in a semi-automated way:

# emerge -p prune > prune-list.txt

then I edited the file, leaving only the rows with packages
I really wanted to prune (for instance I wouldn't prune old
kernels)

# vi prune-list.txt

and then:

for i in `cat prune-list.txt`; do emerge -v prune $i ; done

Cheers,
  AS
--
gentoo-user@gentoo.org mailing list

Reply via email to