Re: yum protect

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Frank Murphy <frankly3d@xxxxxxxxx> writes:

> Is it possible to protect a specific kernel-release
> with 
> echo kernel-nnn > /etc/yum/protected.d/kernel.conf 
> Have tried but it still removes stated releases.
>
> You have known working kernel-nnn,
> but you still want to update kernels
> versionlock would prevent the updates.
>
> yum-3.4.3-106.fc20.noarch

 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.

-- 
James Antill -- james@xxxxxxx
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum




[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux