Installing security updates

0

When logging in, I get the following messages: Updates Information Summary: available 8 Security notice(s) 7 Important Security notice(s) 1 Medium Security notice(s) 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

But when I try to upgrade: sudo dnf upgrade Last metadata expiration check: 0:08:19 ago on Tue Apr 9 14:04:11 2024. Dependencies resolved. Nothing to do. Complete!

I have rebooted, and name -a still shows: Linux xxxxxxxx.com 6.1.61-85.141.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Nov 8 00:39:18 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

So, how do I switch to the latest installed security update?

Thanks

BigDom
asked 20 days ago113 views
1 Answer
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
EXPERT
Mike_L
answered 20 days 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"

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions