Re: yum protect

Frank Murphy <[email protected]> Mon, 14 Oct 2013 16:43:44 +0100
Newsgroups gmane.linux.rpm.yum
Organization Very Little
Message-ID <[email protected]>
On Mon, 14 Oct 2013 11:39:45 -0400
James Antill <[email protected]> wrote:

>  protected.d works on package names, not versions.
> 
>  What it sounds like you want is to just stop the removal of a known
> working version of the kernel. At which point (from man yum.conf):
> 
>               installonly_limit  Number  of packages listed in
> installonlypkgs to keep installed at the same time. Setting to 0
> disables  this feature. Default is '0'. Note that this
> functionality used to be in the "installonlyn" plugin, where this
> option was altered via. tokeep.   Note  that  as of version 3.2.24,
> yum will now look in the yumdb for a installonly attribute on
> installed packages.  If that attribute is "keep", then they will
> never be removed.
> 
> ...so "yumdb set installonly keep kernel-nnn" does what you want.
> 

Thanks James,
there was a bit of discussion on [email protected].
None of us could get that far.

-- 
Regards,
Frank 
www.frankly3d.com