by ComputerGuru · 8y ago · 0 comments
other options include "apt upgrade --with-new-pkgs" or using unattended-upgrades to automatically install them.
Make sure "linux-image-amd64" package is installed for Debian (and whatever equivalent package name for Ubuntu) and "apt upgrade" will install new kernel packages just fine.
(And this is actually not even needed for most kernel updates in Debian because most of the time package name stays same and updated in place, package name is only changed if ABI is changed and requires recompilation of DKMS modules)
I don't see why "apt upgrade" wouldn't install the new kernel. It's hard to tell what when wrong without knowing any details.
Anyway, if apt decided to hold back a package for some reason, most of the time you should be able to install it with "apt(-get) install". Do not install packages with dpkg unless you know what you're doing.