Prevent a particular kernel from being deleted

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



Somewhat related to my inquiry earlier today about the disappearing sound card, I just got to wondering if there's a way to "pin" the kernel that works with the soundcard such that it won't be deleted with future updates until and unless there's a future kernel released that solves the sound card issue.

"dnf versionlock" appears to almost do what I want, but it just locks a package to a particular version and doesn't allow it to be upgraded past that.

I'd like to be able to install updated kernels as they are released, but somehow tell dnf to never delete kernel version 4.18.0-240.22.1.el8_3.x86_64.  In the normal course of events that kernel would be deleted after a certain number of kernels are installed afterward (as specified by the installonly_limit number in /etc/dnf/dnf.conf.

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?

-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
_______________________________________________
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