Re: Yum default settings and the cache

2012-07-22 Thread Ed Greshko
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
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Yum default settings and the cache

2012-07-22 Thread John Maclean

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?
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org