Question

Updating new Ubuntu droplet: security updates

  • Posted July 17, 2014

When I ssh into my droplet. Ubuntu tell me I have 66 packages can be updated. 31 updates are security updates.

This is a new Droplet (and I’m new to Ubuntu) … is there a how to or best practices for this? I’m most concerned about the security updates…

Subscribe
Share

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

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.

There most likely will be a restart required for a few of them. Shutdown & snapshot then run this:

sudo apt-get update && sudo apt-get -y upgrade && sudo apt-get -y dist-upgrade && sudo reboot

Note: That command will automatically say yes to all updates and will restart one it completes updates. If something breaks or you are having issues, restore back to the snapshot.

Little script I wrote that makes it easier ;D

Github

curl -s https://raw.githubusercontent.com/MLWALK3R/upgrade-easier/master/update.sh | bash