Cobra Forum

Linux => Installation & Upgrades => Topic started by: kalpana on Oct 07, 2023, 04:39 AM

Title: Preventing automatic kernel upgrades in 22.04
Post by: kalpana on Oct 07, 2023, 04:39 AM
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