1 Answer
- Newest
- Most votes
- Most comments
0
You may need to switch between versioned repository as per Deterministic upgrades through versioned repositories usage
To check your current version
rpm -q system-release
On my AL2023, output is system-release-2023.4.20240401-0.amzn2023.noarch
Run sudo dnf check-release-update
to check for newer releases
To upgrade to the latest
sudo dnf upgrade --releasever=latest
kernel-6.1.79-99.164 is in version 2023.3.20240304
sudo dnf upgrade --releasever=2023.3.20240304
Relevant content
- asked 2 years ago
- asked 3 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
Thanks for the reply, but unfortunately, that has not made any difference:
[ec2-user@xxxxxxxx ~]$ sudo dnf check-release-update
[ec2-user@xxxxxxxx ~]$ sudo dnf upgrade --releasever=latest Amazon Linux 2023 repository 47 MB/s | 23 MB 00:00
Last metadata expiration check: 0:00:01 ago on Tue Apr 9 14:49:45 2024. Dependencies resolved. Nothing to do. Complete!
[ec2-user@xxxxxxxx ~]$ sudo dnf check-update Last metadata expiration check: 0:46:02 ago on Tue Apr 9 14:04:11 2024. Security: kernel-6.1.79-99.164.amzn2023.x86_64 is an installed security update Security: kernel-6.1.61-85.141.amzn2023.x86_64 is the currently running version
What is the output of " rpm -q system-release " ? You may have to specify the releasever manually, "sudo dnf upgrade --releasever=2023.4.20240401"