Cannot update Fedora due to kernel error

If dnf does not allow that, or if it tries to remove too musth. you can try to remove

dnf remove kernel-core-5.18.7-200.fc36.x86_64

Or you can edit /etc/dnf/dnf.conf changing installonly_limit=3 to installonly_limit=5.

That allows you to install two more kernels before you get the problem again.

I wonder if you have some strange package installed from one of the non-fedora repositories which would prevent you from removing kernel version 5.18.9-200.

1 Like