Question

Should I upgrade my kernel?

“apt upgrade” wants to upgrade 2 packages and install 4 extra packages (the 4.4.0-31 kernel). “apt-get upgrade” tells me the same 2 packages are held back. (linux-headers-generic-lts-xenial and linux-image-generic-ltx-xenial)

The control panel on the website says “The kernel for this Droplet is managed internally and cannot be changed from the control panel.”

I don’t know the inner workings of a VPS. Should I upgrade the kernel using apt, or will this break my droplet? For that matter, how are kernel updates managed on Digital Ocean?


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Accepted Answer

Some kernels can be managed using DO’s control panel, and some Linux distros such as Ubuntu 16.04 (at the moment) does not support kernel updates via the control panel.

You can upgrade the kernel by following the command:

sudo apt-get update
sudo apt-get dist-upgrade

And then reboot the server

sudo reboot

Updating the kernel should not cause any issues but I will recommend taking a snapshot of the Droplet before updating it.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

apt-cache search linux-image it lists all available linux image versions