1

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?

manifestor
  • 5,329
  • 5
  • 21
  • 33

1 Answers1

3

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.

boppy
  • 476
  • 2
  • 5