On Tuesday 08 April 2008, Michael Schmarck wrote: > Alan McKinnon <[EMAIL PROTECTED]> wrote: > > On Tuesday 08 April 2008, Michael Schmarck wrote: > >> Connected question: How do I quickly find all the packages that > >> got installed as a dependency, but which are no longer needed, > >> because the dependent package got removed (as an example, I'd > >> like to find kde-i18n, because that used to be a dependency of > >> kde-meta and kde-meta is no longer installed). > > > > emerge --depclean > > thanks. 200 some packages, which would be removed. Quite a > lot.
Ouch. You'll be wanting to go through that lot with a fine toothcomb and verify what you really no longer need. 'emerge -n <package>' will put the package in world so that it won't be considered by --depclean With that big a change I usually 'emerge -C' stuff in chunks manually to get the --depclean output down to a more manageable length > After removing stuff, a revdep-rebuild should be done, shouldn't > it? In theory yes. In practice... in practice you get whatever you get, and sometimes that's two broken halves. revdep-rebuild usually fixes most of it Also consider the implications either way of emerge --withbdeps -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list