News:

SMF - Just Installed!

Main Menu

Preventing automatic kernel upgrades in 22.04

Started by kalpana, Oct 07, 2023, 04:39 AM

Previous topic - Next topic

kalpana

Hi,

I'm running ubuntu 22.04 on ec2 and it's running Linux 6.2.0-1009-aws kernel which I believe is a aws specific kernel for hosted instances. Right now everything is set to automatically upgrade using unattended upgrades.

My question is how do I stop the kernel for upgrading but still have everything else upgrade? Is a way to stop the kernel from being upgraded, both automatically and when I run apt upgrade? (i.e. it should only upgrade when I force it to manually install a new kernel)?

TIA