A question about yum.

mike cloaked mike.cloaked at gmail.com
Fri May 28 13:31:24 UTC 2010


On Fri, May 28, 2010 at 12:27 PM, George R Goffe <grgoffe at yahoo.com> wrote:

> Tim,
>
> I have been looking for replies but found none, that is why I re-posted. In
> looking at the archive I see that some have not arrived in my inbox. Sigh. I
> have been having troubles with yahoo classic for the past few months,
> searching fails randomly, filters disappear randomly, sorting of email fails
> intermittently, numerous error codes (2,3,4,5,6,20,22) and the winner, "an
> error has occurred". I know, it's hard to believe that last one.  Their
> support structure is in need of serious help.
>
> Anyway. I run "yum update" every other day and then yum clean all which
> always reports 0 pkgs removed. I'm probably doing something wrong but for
> the life of me, I can't see it. Maybe a plugin?
>
>
Have a look at /etc/yum.conf and see if you have a line:
 keepcache=1

If this is the case then it keeps the package rpms in cache - if the
parameter is zero then it does not keep the rpms in cache and so yum clean
all will have no packages to remove!

The default is zero.

This may explain your observations and for most people there is no need to
clog up your system partition with the stored rpms.  If you want to copy the
rpms to another machine without the need to download again then you may want
keepcache=1 and then transfer the rpms locally to the other machine and then
run yum update on that machine which itself will then not need keepcache=0

Mike
-- 
mike c
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20100528/63970415/attachment.html 


More information about the users mailing list