home user composed on 2022-12-15 20:26 (UTC-0700):

>> Alternatively, you could modify /etc/dnf/dnf.conf by entirely excluding 
>> kernels
>> from being installed or removed by dnf:

>>      exclude=" kernel* "

>> Using this option, dnf will pretend kernels don't exist for purposes of 
>> adding or
>> removing. When you are ready to allow a kernel to be installed, remove the 
>> kernel
>> from the exclude= line. I do that using a one character change in dnf.conf:

>>      exclude=" 0kernel* "

>> Even when dnf.conf excludes kernels, kernels may still be added or removed 
>> using
>> rpm directly.

> Seems like neat tricks.  Thank-you.  But I hope you understand when I 
> say that I hope I never need to use them!

That one byte difference is like a lock on the kids' toychest that either allows
or prohibits the kids getting toys in or out, preserving status quo, or allowing
changes to occur. I use this one always. I choose a safe time for kernel
installation and removal. The kernel rarely requires changing coincident with
other periodic updates, and it's my computer.
-- 
Evolution as taught in public schools is, like religion,
        based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to