Fedora typically keeps 3 latest kernel versions. However, what if you want to keep an old specific kernel version which is known to work well with your system?
First, we need to install a dnf plugin that allows us to keep a specific version of any package:
sudo dnf install python3-dnf-plugins-extras-versionlock
Lets find all available kernel versions for your system:
sudo dnf list kernel --showduplicates
Install that specific version of the kernel:
sudo dnf install kernel-5.3.7-301.fc31
And lock it:
sudo dnf versionlock add kernel-5.3.7-301.fc31
To remove the lock:
sudo dnf versionlock delete kernel-5.3.7-301.fc31
No comments:
Post a Comment