1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
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
관련 콘텐츠
- AWS 공식업데이트됨 일 년 전
- AWS 공식업데이트됨 2년 전
- AWS 공식업데이트됨 2년 전
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"