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?