Debian Kernel Update with APT – Reboot Required?

debiankernellinux-kernelpatch-management

Suppose I update the kernel of a running Debian system using apt-get upgrade linux-image-amd64 to a higher minor version number (e.g., 5.10.10 to 5.10.11). Do I have to reboot the Debian server in order for the update to take effect?

Best Answer

Yes, usually the kernel update is not done in-place so a reboot is needed to update the running kernel.

You might want to try needrestart via

sudo needrestart -kr l

It will check if the correct kernel is loaded (-k) and will only show an info and not do the restart itself (-r l). See needrestart --help for more info.