We followed this guide and trying to upgrade from 5.4 to 5.10, but it is not working. The rpm -qa |grep kernel command does not show 5.10 installed, but udo amazon-linux-extras |grep kernel shows it as enabled. Pls help
Thank you for your comment. We'll review and update the Knowledge Center article as needed.
Hi AWS team can some one respond for the upgrade of the kernel version from 5.10 to 5.15?
Hi AWS Team! I'm facing the same issue that @rePost-User-5383065 mentioned. Is there any update on this?
I was able to migrate the kernel from version 5.4 to 5.10.
TL;DR
Execute the following steps before attempting to install the new kernel version:
$ sudo yum versionlock list # Find if kernel packages are locked there
$ sudo yum versionlock delete <<KERNEL_PACKAGE>>
Long Explanation
yum-versionlock is a Yum plugin that takes a set of name/versions for packages and excludes all other versions of those packages. This allows you to protect packages from being updated by newer versions.
- Try to update the kernel using yum and notice that the plugin
versionlock
is loaded:
$ sudo yum update kernel
- Check if there are any packages locked to their installed versions:
$ sudo yum versionlock list
- Discard the list of locked packages, and retry the kernel upgrade:
$ sudo yum versionlock delete <<PACKAGE>>
3.1. [OPTIONAL] To clear all the locked packages use the below command:
$ sudo yum versionlock clear
- To display and confirm that the kernel is not locked run the below command:
$ sudo yum versionlock list
- Continue installing the new kernel.
Relevant content
- Accepted Answerasked a year ago
- asked 3 years ago
- asked 10 months ago
- Accepted Answerasked a year ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated a year ago