[Yum] yum protect

Frank Murphy frankly3d at gmail.com
Mon Oct 14 15:43:44 UTC 2013


On Mon, 14 Oct 2013 11:39:45 -0400
James Antill <james-yum at and.org> 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 users at fp.o.
None of us could get that far.

-- 
Regards,
Frank 
www.frankly3d.com



More information about the Yum mailing list