Re: Prevent a particular kernel from being deleted

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



On 6/4/21 9:31 PM, Frank Cox wrote:
So is there a way to tell dnf to update kernels in the usual manner but always keep a certain installed version until otherwise instructed?


Not that I know of.  You could increase "installonly_limit" in dnf.conf to a large number, and remove kernels manually rather than automatically.  Or you could create a new empty dummy package that Requires: the kernel-version that you want to keep, and add that package to /etc/dnf/protected.d/.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux