On Debian and Fedora experiences

seth vidal skvidal at linux.duke.edu
Thu Dec 7 23:58:07 UTC 2006


On Thu, 2006-12-07 at 17:30 +0100, Gianluca Sforna wrote:
> On 12/7/06, Matthew Miller <mattdm at mattdm.org> wrote:
> > On Thu, Dec 07, 2006 at 10:04:23AM +0100, Gianluca Sforna wrote:
> > > Now I have a naive question: does it need a yet another package
> > > database to remove, together with xxx, each package on which xxx
> > > depends, under the constrain that xxx has to be the ONLY package
> > > requiring it?
> >
> > install yum-utils. run package-cleanup --leaves.
> >
> 
> great!
> So I can: remove package xxx, run package-cleanup --leaves, remove
> what is listed there.
> 
> I wonder if this nice trick could go into yum. Something like:
> 
> yum --clean-leaves remove xxx

Two suggestions:
 1. why put it IN yum when it is really a policy-like issue on what to
clean up or not
 2. if you like the above it could be put into a plugin w/relative ease.

-sv





More information about the fedora-extras-list mailing list