Describe the bug
Upon inspecting a Clear Linux system today, I noticed that there may be too many old kernels remaining on the system. The system uses kernel-lts exclusively, but there are several kernel bundles actually installed.
Steps to reproduce
This problem is not happening on other systems that I've checked. If I discover more concrete steps to reproduce, then I will post them at a later time.
Expected behavior
I expected to see older kernels removed from the system as below:
All lts2018 kernels older than latest, since these kernels are no longer used. They stopped being used after kernel-lts switched its bundle include from kernel-lts2018 to kernel-lts2019.
All lts2019 kernels older than latest, except for the currently running lts2019 kernel, if it differs from latest
All native kernels older than latest, since these kernels are not used.
All preempt_rt kernels older than latest, since these kernels are not used.
Describe the bug Upon inspecting a Clear Linux system today, I noticed that there may be too many old kernels remaining on the system. The system uses
kernel-lts
exclusively, but there are several kernel bundles actually installed.Steps to reproduce This problem is not happening on other systems that I've checked. If I discover more concrete steps to reproduce, then I will post them at a later time.
Expected behavior I expected to see older kernels removed from the system as below:
kernel-lts
switched its bundle include fromkernel-lts2018
tokernel-lts2019
.Environment details