When DNF upgrades the kernel packages, it removes kernels so that
there are not more than installonly_limit installed. It won't
remove the running kernel.
How do I protect more than the running kernel from DNF during
a kernel upgrade? I have two that I would like to keep. Neither
excludepkgs nor protected_packages have any effect on DNF's
autoremove, though they do prevent normal operations.
Show replies by date