Hello Tony, On Sat, 26 Oct 2019 15:50:35 -0400 Tony Nelson <tonynelson@xxxxxxxxxxxxxxxxx> wrote: > On 19-10-25 22:06:37, Tim via users wrote: > > 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. > > Mine was at 8, now it is at 18, so as long as I keep track I won't lose > my important kernels. That wasn't my question. My question is how to > protect 2 kernels from being erased. Can't you add exclude patterns to the .repo files? Regards, -- wwp https://useplaintext.email/
Attachment:
pgpcgeHuJ8XWY.pgp
Description: OpenPGP digital signature
_______________________________________________ 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