Switch Kernel for Fedora(40)
A few days ago, I upgraded from Fedora 39 to Fedora 40. However, after the upgrade, my VirtualBox could not start properly due to a mismatch between the kernel and kernel-header versions.
By using uname -r and dnf list --installed | grep "kernel-headers", I found out the versions are as follows:
kernel: 6.8.8-300.fc40.x86_64 kernel-headers: 6.8.3-300.fc40.x86_64 I tried to install the matching version of kernel-headers using sudo dnf install kernel-headers-$(uname -r), but found that there was no corresponding version available.