Report this

What is the reason for this report?

Is it required to regularly keep updating droplet?Will it override modified files?

Posted on November 9, 2015

Hello,

Everytime i log in to my digital ocean droplet i get the below message: “209 packages can be updated. 104 updates are security updates.

I had two questions wrt this: a. Is it required to keep updating the droplet? What are the security updates? Will doing these updates override the settings that i might have changed in the files?(For ex: i have made a few changes in nginx and tomcat files in the server).

b. Now i need to install Postfix for sending emails. I intend to follow the steps mentioned in this link and this. These links required the use of command : “sudo apt-get update”. Are these commands going to update all the existing packages that i have? And will these also override the settings that i might have changed in the files?(For ex: i have made a few changes in nginx and tomcat files in the server).

Thanks in advance, Kavisha.



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.

Updating packages normally does not overwrite config files and even if it did, they are usually coded to update your config file with your settings. But it is a good idea to take a snapshot of your droplet before doing any updates. And to update, you can run the following commands,

sudo apt-get update
sudo apt-get upgrade

There is a good introduction to apt-get that you can find here: https://syscoding.com/tutorials/2/basic-introduction-to-apt-get-ubuntu-debian/

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.