No, thereâs no need to remove them. People usually remove them if they are running short of space on the / partition. Fedora keeps 3 kernels installed by default, in case a new kernel has a regression and breaks some hardware users can reboot into an older kernel that works. (I test kernels from the updates-testing repository, so I sometimes even keep 5 kernels around)
If you just upgrade to a new kernel with the working kernel running, the not working âbrokenâ kernels will be removed from Fedora as soon as there will be newer ones.
If you remove them now, on the next update dnf tries to install it again. If broken or not.
The better way to search for a solution is, to list your hardware, to see what could cause the issue.
Please be explicit â terms like âbrokenâ do not get us closer to fixing the issue.
You should keep the âbrokenâ kernel so you can collect details of your issue and post them here (as text, so can be found with internet searches). The majority of issues are not unique to Fedora, Linusâs law is the assertion that âgiven enough eyeballs, all bugs are shallowâ. Providing hardware details (run inxi -Fzxx and past the output as pre-formatted text) will help get attention from others with similar hardware and issues.
The best way to remove all relevant packages would be to use sudo dnf remove kernel*6.13.7*
It seems possible that the installation did not complete properly. A complete removal followed by sudo dnf upgrade would do a new installation and it may then boot properly.
Thank you!. The question was more about the process for how fix âbrokenâ kernel. Basically, boot to working one and update. I have broken mine by playing around additional packages
There should be details in journalctl. âAdditionalâ packages may not work with newer kernels, but you should be able to identify the problematic package and decide whether to stick with older kernels until the package is updated or remove the package.