Yum default settings and the cache

Ed Greshko Ed.Greshko at greshko.com
Sun Jul 22 15:25:16 UTC 2012


On 07/22/2012 11:17 PM, John Maclean wrote:
> According to the docs from man yum...
>
> "keepcache Either `1' or `0'. Determines whether or
>               not  yum  keeps  the cache of headers and packages
>               after successful  installation.   Default  is  '1'
>               (keep files)"
>
> A fresh install of f17 shows
>
> grep cache /etc/yum.conf
> cachedir=/var/cache/yum/$basearch/$releasever
> keepcache=0
>
>
> So which is correct? 

Both....

The default is "1".  The term "default" means that it will be "1" if not overridden
by a specific configuration instruction directive.

The entry in /etc/yum.conf overrides the "default" value. 



-- 
Never be afraid to laugh at yourself, after all, you could be missing out on the joke
of the century. -- Dame Edna Everage


More information about the users mailing list