Re: 'yum update yum' moves away current copy of installonlyn.conf but no replacement

Seth Vidal <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.