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.

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

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel