And then I'm quite surprise, 41 packages should be removed, and among them, a
lot of usefull lib or tool (perl-ldap, xinetd, and so on ...)

Is this result normal ? What did I miss ?

1. it might be old stuff that really isn't needed anymore, as already mentioned by others

2. portage up to a short while ago had a bug (or feature?!?) that when you emerged a package for the first time and used -u to do this, it would not be added to the world file. Nowadays it does the right thing and adds it to the world file if you use -u or not. This means that possibly some packages that you emerged yourself and weren't pulled in as dependencies by other packages in the world file are now regarded by --depclean as unnecessary, as they don't appear in the world file themselves and aren't dependencies of anything in there.

This means that you'll have to go through the list resulting from a '--depclean -p' and have to see if you truly wanted that package, and if yes, re-emerge that package or add it to the world file yourself.

Once you're done remerging the stuff you want to keep and have cleaned out the rest, it would probably be best to check that everything is ok with a revdep-rebuild

In the future though, everything should work fine just as you were doing it.

Marco
--
gentoo-user@gentoo.org mailing list

Reply via email to