On Fri, 2019-10-25 at 16:42 -0400, Tony Nelson wrote: > 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. Very simple approach: Increase the limit. I always bump mine up to about 6. I could easily install some kernel, and not encounter a bug in in for quite some time. Likewise with a prior kernel. Having more to backtrack through gives you more debugging options. -- uname -rsvp Linux 3.10.0-1062.4.1.el7.x86_64 #1 SMP Fri Oct 18 17:15:30 UTC 2019 x86_64 Boilerplate: All unexpected mail to my mailbox is automatically deleted. I will only get to see the messages that are posted to the mailing list. _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx