home user composed on 2022-12-15 14:03 (UTC-0700):
-bash.10[~]: cat /etc/dnf/dnf.conf
# see `man dnf.conf` for defaults and possible options
[main]
gpgcheck=True
installonly_limit=3
clean_requirements_on_remove=True
best=False
skip_if_unavailable=True
-bash.11[~]:
------
Is your suggestion to edit the "installonly_limit" value? If yes, is my
current setting (3) of that value sufficient?
installonly_limit= determines how many kernels dnf will keep installed when it is
performing its excess installed kernels removal process. The idea is too allow a
larger safety margin for your working 5.19 kernel before its removal would be
attempted.
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.
--
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