On Friday 21 July 2006 12:50, Enrico Weigelt wrote:
> Is there any quick command for removing packages that are no
> longer in world or one of their dependencies ?

From `man emerge`. Use with care and always investigate with --pretend first.

--depclean
        Determines  all packages installed on the system that have no explicit 
reason
        for being there.  emerge generates a list of packages which it expects 
to be
        installed by checking the system package list and the world file.  It 
then
        compares that list to the list of packages which are actually 
installed; the
        differences are listed as unnecessary packages and then unmerged after a
        short timeout.   WARNING:  Removing  some packages may cause packages 
which
        link to the removed package to stop working and complain about missing
        libraries.  Re-emerge the complaining package to fix this issue.  Note 
that
        changes in USE flags can drastically affect the output of --depclean.

> AFAIK, emerge -C kills the packages, no matter if someone depends
> on it :(

Correct.

-- 
Bo Andresen

Attachment: pgp41HUdV3R8t.pgp
Description: PGP signature

Reply via email to