Score:3

Fresh EC2 instance pending Kernel Upgrade

sm flag

Just spin up an EC2 instance with Ubuntu, if it is a new fresh instance, isn't supposed the Kernel to be up to date?

After I run a sudo apt update && sudo apt install <any-package>, I receive the message below:

Package configuration

  ┌───────────────────────┤ Pending kernel upgrade ├───────────────────────┐
  │                                                                        │ 
  │ Newer kernel available                                                 │ 
  │                                                                        │ 
  │ The currently running kernel version is 5.15.0-1031-aws which is not   │ 
  │ the expected kernel version 5.19.0-1022-aws.                           │ 
  │                                                                        │ 
  │ Restarting the system to load the new kernel will not be handled       │ 
  │ automatically, so you should consider rebooting.                       │ 
  │                                                                        │ 
  │                                 <Ok>                                   │ 
  │                                                                        │ 
  └────────────────────────────────────────────────────────────────────────┘ 
                                                                             

Is this normal? If not, how can I avoid it?

dmanexe avatar
mm flag
Had same issue spinning up from an Ubuntu AMI on EC2.
Score:4
ar flag

Please read the message. It explains things perfectly.

The headline is Pending kernel upgrade, which informs you that there's a newer kernel pending.

The last line informs you what do to apply this change:

Restarting the system to load the new kernel will not be handled automatically, so you should consider rebooting.

And no, you are not guaranteed that images are perfectly up to date at all times. You should perform required upgrades after deploying.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.