[Yum] 'yum update yum' moves away current copy of installonlyn.conf but no replacement

Seth Vidal skvidal at fedoraproject.org
Thu Apr 2 19:30:15 UTC 2009



On Thu, 2 Apr 2009, Gerry Reno wrote:

> Seth Vidal wrote:
>> 
>> 
>> On Thu, 2 Apr 2009, Gerry Reno wrote:
>> 
>>> I noticed on one F7 machine (yes I know its EOL) today that a yum update 
>>> brought in a new yum and it proceeded to save the current 
>>> installonlyn.conf as a .rpmsave. So the spec file just have just %config 
>>> instead of %config noreplace in it.
>>> 
>>> I just thought I would mention this in case it was a problem in later 
>>> versions.
>>> 
>> 
>> The new yum obsoletes the installonlyn plugin.
>> 
>> So it is removing the yum-installonlyn plugin and rpm is behaving correctly 
>> in leaving a file.rpmsave for the config file.
>> 
>> -sv
> Ok, I didn't know that. So how can you keep more than X number of kernels if 
> you want? Or can we put 'tokeep' in yum.conf?

man yum.conf
look at installonly_limit
       installonly_limit
           Number of packages listed in installonlypkgs to  keep  installed
           at the same time. Setting to 0 disables this feature.

-sv





More information about the Yum mailing list