How to delete the same kernel?
Hello, I am new to Fedora. After some installations I've got two same kernels of same versions. They are displayed on GRUB startup and Package List. How can I clean up one?
bma@LenovoPC:~$ dnf list --installed | grep kernel
abrt-addon-kerneloops.x86_64 2.10.10-1.fc28 @updates
kernel.x86_64 4.18.8-200.fc28 @updates
kernel.x86_64 4.18.9-200.fc28 @updates
kernel-core.x86_64 4.18.8-200.fc28 @updates
kernel-core.x86_64 4.18.9-200.fc28 @updates
kernel-devel.x86_64 4.18.9-200.fc28 @updates
kernel-headers.x86_64 4.18.9-200.fc28 @updates
kernel-modules.x86_64 4.18.8-200.fc28 @updates
kernel-modules.x86_64 4.18.9-200.fc28 @updates
kernel-modules-extra.x86_64 4.18.8-200.fc28 @updates
kernel-modules-extra.x86_64 4.18.9-200.fc28 @updates
libreport-plugin-kerneloops.x86_64 2.9.5-1.fc28 @updates
No, you do not have two kernels with same version: one is 4.18.8, the other is 4.18.9.
I would strongly advise not to delete the second (older) kernel. In case something doesn’t work with the other one, you will be happy to have a fallback kernel installed.
Here is a neat
rpm
query command to check whatkernel
packages you have installed:rpm -qa kernel
. (shows the kernel meta package only, if you want to see all, runrpm -qa kernel-*
)