Report this

What is the reason for this report?

Updating new Ubuntu droplet: security updates

Posted on 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…



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!

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.

Little script I wrote that makes it easier ;D

Github

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

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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.