Java Mailing List Archive

http://www.redhatconfig.com/

Home » Gentoo Linux »

Re: [gentoo-user] Re: "emerge -DuvatN world" doesn't show all upgradeable
packages

Dale

2008-04-08

Replies:

Author LoginPost Reply
Michael Schmarck wrote:
> <<SNIP >>
>
> 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).
>
> Thanks,
>
> Michael
>
>  

First things first. Use caution with this. A LOT of caution. Always
do a --pretend first, no exception. I would strongly recommend you to
never let it just remove packages, always remove them by hand. That's
how I do it anyway.

emerge -p --depclean

That will tell you packages that are installed and !may! not be needed
by other packages. Note all the warnings here? I have not had anything
serious removed by using this in ages but strange things can happen.
You need to be careful with this. Remove the wrong thing and it can be
a uphill battle to get it fixed.

If you have a problem with things being removed from your world file,
someone may can give you the command to rebuild it. I'd backup the
current one first, just in case. I'm pretty sure there is a way to do
that but can't recall at the moment. I have never had to do that before.

Dale

:-) :-)


--
gentoo-user@(protected)

©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.