On Fri, Jun 10, 2022 at 08:55:41AM +0200, haaber wrote: > Recent QSB made me run the qubes-update. Regrettably, it wants to remove > a kernel version that I need to hold (in case of foreseeable problems > with newer ones). How can I freeze that older version and forbid its > uninstall? > > best, Bernhard >
Hi Bernhard There are a number of things you can do: the simplest - Increase the number of kernel packages that are retained: In /etc/dnf/dnf.conf change installonly_limit=3 to some higher number. Then manually delete kernel packages that are intermediate. That way you keep the working version *and* get the updates so you can try them as they come in. There used to be a plugin to lock dnf updates to a specific version, but I think that disappeared a few years ago. You can try `dnf mark install kernel-VERSION` which *should* hold that package version on the system, but that hasn't always worked for me. There is another simple approach - run the update while booted in to the kernel you want to hold. dnf wont remove the running kernel, and will uninstall newer versions to stay within the installonly_limit you have set. Some combination of these should allow you to hold (some) older kernel version while still allowing you to try updated kernels. unman -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/YqXeEJ06Mr%2BCXl51%40thirdeyesecurity.org.