Score:0

Debian: Kernel update using APT - reboot required to take effect?

mp flag

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?

Score:2
ru flag

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.

manifestor avatar
mp flag
Nice, but is checking `/var/run/reboot-required` not much easier?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.