Amazon Linux 2023 へ SSH したところ、ログイン時に下記のメッセージが表示されました。
1 2 3 4 5 6 7 8 9101112131415
A newer release of "Amazon Linux" is available.
Version 2023.3.20240108:
Version 2023.3.20240117:
Run "/usr/bin/dnf check-release-update"for full release and version update info
, #_
~\_####_ Amazon Linux 2023
~~ \_#####\
~~ \###|
~~ \#/ ___ https://aws.amazon.com/linux/amazon-linux-2023
~~ V~' '->
~~~ /
~~._. _/
_/ _/
_/m/'
Last login: Tue Jan 2308:09:14 2024 from 217.178.130.27
最後に、Amazon Linux は、柔軟で一貫性のある更新メカニズムである、バージョニングされたリポジトリを通じた決定論的更新を提供します。これは、断然私のお気に入りのポリシーです。ディストリビューションは Amazon Linux パッケージリポジトリの特定のバージョンにロックされるため、更新を適用する方法とタイミングを制御できます。デフォルトでは、Amazon Linux 2 とは異なり、dnf update コマンドはインストール済みのパッケージを更新しません (dnf は yum の後継です)。これは、フリート全体で同じパッケージバージョンが使用されるようにするのに役立ちます。
# dnf check-update
Last metadata expiration check: 21:49:14 ago on Mon Jan 2212:41:32 2024.
=============================================================================================================
WARNING:
A newer release of "Amazon Linux" is available.
Available Versions:
Version 2023.3.20240108:
Run the following command to upgrade to 2023.3.20240108:
dnf upgrade --releasever=2023.3.20240108
Release notes:
https://docs.aws.amazon.com/linux/al2023/release-notes/relnotes-2023.3.20240108.html
Version 2023.3.20240117:
Run the following command to upgrade to 2023.3.20240117:
dnf upgrade --releasever=2023.3.20240117
Release notes:
https://docs.aws.amazon.com/linux/al2023/release-notes/relnotes-2023.3.20240117.html
Version 2023.3.20240122:
Run the following command to upgrade to 2023.3.20240122:
dnf upgrade --releasever=2023.3.20240122
Release notes:
https://docs.aws.amazon.com/linux/al2023/release-notes/relnotes-2023.3.20240122.html
=============================================================================================================
# dnf check-release-update
WARNING:
A newer release of "Amazon Linux" is available.
Available Versions:
Version 2023.3.20240108:
Run the following command to upgrade to 2023.3.20240108:
dnf upgrade --releasever=2023.3.20240108
Release notes:
https://docs.aws.amazon.com/linux/al2023/release-notes/relnotes-2023.3.20240108.html
Version 2023.3.20240117:
Run the following command to upgrade to 2023.3.20240117:
dnf upgrade --releasever=2023.3.20240117
Release notes:
https://docs.aws.amazon.com/linux/al2023/release-notes/relnotes-2023.3.20240117.html
Version 2023.3.20240122:
Run the following command to upgrade to 2023.3.20240122:
dnf upgrade --releasever=2023.3.20240122
Release notes:
https://docs.aws.amazon.com/linux/al2023/release-notes/relnotes-2023.3.20240122.html