[Yum-devel] [PATCH] Make keepcache only remove what's being installed/updated

Jeremy Katz katzj at redhat.com
Sun Jul 23 23:18:00 UTC 2006


On Sun, 2006-07-23 at 10:45 -0400, seth vidal wrote:
> On Tue, 2006-07-18 at 17:16 -0400, Jeremy Katz wrote:
> > This changes the behavior of keepcache so that only the packages that
> > have been installed/updated are removed.  This helps to avoid some of
> > the problems if you have a conflict and then do the updates one or five
> > at a time (rh#189483 and others)
> > 
> > Look good both for HEAD and 2.6.x?
>
> looks fine - except - have you tested it on a 'localinstall' with a
> package somewhere NOT in a repo?
> 
> You might find yourself removing the package.

I thought I tried that, but apparently not -- it doesn't remove it,
though -- I get a traceback instead :-)  Updated patch attached

Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yum-clean-only-this-ts.patch
Type: text/x-patch
Size: 1875 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20060723/c9cdf9ec/attachment.bin 


More information about the Yum-devel mailing list