Re: How to protect 2 kernels from upgrades?

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

 



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
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux