On Saturday 22 November 2003 00:19, Andrew Gaffney wrote: > Jason Stubbs wrote: > > On Friday 21 November 2003 05:03, Jeffrey Smelser wrote: > >># emerge -p depclean > >> > >>*** WARNING *** : DEPCLEAN CAN SERIOUSLY IMPAIR YOUR SYSTEM. USE > >> CAUTION. *** WARNING *** : (Cancel: CONTROL-C) -- ALWAYS VERIFY ALL > >> PACKAGES IN THE *** WARNING *** : CANDIDATE LIST FOR SANITY BEFORE > >> ALLOWING DEPCLEAN TO *** WARNING *** : UNMERGE ANY PACKAGES. > >>*** WARNING *** : > >>*** WARNING *** : USE FLAGS MAY HAVE AN EXTREME EFFECT ON THE OUTPUT. > >>*** WARNING *** : SOME LIBRARIES MAY BE USED BY PACKAGES BUT ARE NOT > >>*** WARNING *** : CONSIDERED TO BE A DEPEND DUE TO USE FLAG SETTINGS. > >>*** WARNING *** : > >>*** WARNING *** : Packages in the list that are desired may be added > >>*** WARNING *** : directly to the world file to cause them to be ignored > >>*** WARNING *** : by declean and maintained in the future. BREAKAGES DUE > >>*** WARNING *** : TO UNMERGING AN IN-USE LIBRARIES MAY BE REPAIRED BY > >>*** WARNING *** : MERGING *** THE PACKAGE THAT COMPLAINS *** ABOUT THE > >>*** WARNING *** : MISSING LIBRARY. > >> > >>It will delete dependencies that are required by packages.. It says so > >>right there.. And if that's not enough.. > > > > It may delete dependencies that are required by packages if the required > > packages were installed with different use flags to what is currently > > set. Yes, it's a bug. If you don't change your use flags, this command is > > perfectly safe. If you do change your use flags, there is an app called > > revdep-rebuild which will fix any packages that become broken. > > 'emerge depclean' is bad and evil and should not be used. Plain old > 'depclean' (comes with gentoolkit) is a much better tool for this kind of > thing.
Hmmm... haven't used that. I take it that it takes the use flags that a package was built with into account rather than using the current ones? (There sitting right there in /var/db/<grp>/<pkg>/USE). Jason -- [EMAIL PROTECTED] mailing list