On 07/20/2018 03:35 PM, Samuel Sieb wrote: > On 07/16/2018 05:37 AM, Patrick O'Callaghan wrote: >> On Mon, 2018-07-16 at 06:26 -0400, Robert Moskowitz wrote: >>> On 07/16/2018 04:46 AM, Tom Yates wrote: >>>> On Sun, 15 Jul 2018, Robert Moskowitz wrote: >>>> >>>>> Where do I set how many kernels to keep? If I have to fall back to >>>>> 17.3, I am going to have more than 3 available... >>>> >>>> As I understand it, it's >>>> >>>> installonly_limit=3 >>>> >>>> in /etc/yum.conf . >>> >>> Thanks. In F28 that is: /etc/dnf/dnf.conf >>> >>> Upped mine to 5 for now. >> >> Ditto, though it would be nice to be able to mark a specific kernel as >> non-removable, rather than just relying on the window not overflowing. > > As long as you are using the kernel you want to keep at the time you > upgrade, it will not get removed. The next oldest one will be removed > instead. Or you could just manually remove one of the other ones. Supposedly, you could do something like: echo "kernel-4.17.3-200" >/etc/dnf/protected.d/kernel.conf That's supposed to make sure dnf doesn't remove that package. Note that the "kernel" package is really a meta package that includes the kernel-core, kernel-modules and whatnot. I've never relied on this bit of dnf magic, but it's supposed to work. I just tested it on a VM by "protecting" an old kernel and it seemed to work (that kernel wasn't removed, even though it was old). Your mileage may vary. ---------------------------------------------------------------------- - Rick Stevens, Systems Engineer, AllDigital ricks@xxxxxxxxxxxxxx - - AIM/Skype: therps2 ICQ: 226437340 Yahoo: origrps2 - - - ---------------------------------------------------------------------- _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx/message/FQZXEAX7WD22Q6XN5IAJ2GSP3R3UNTR2/