By kavisha
Hello,
I am using Ubuntu 14.04 x64. I have tomcat7, Java, nginx, postgres. Every time i log into my droplet using terminal,i get this : 227 packages can be updated. 126 updates are security updates.
I searched for this question here and got a lot of answers, but i am confused with what command to proceed with. Listed all the questions pointing to the same and their answers :
My questions are:
I am sorry since i am a little nervous with this updates thing. But i know thats its important to have those updates.
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!
man apt-get to find out.And you might be interested in https://help.ubuntu.com/community/AutomaticSecurityUpdates
I agree with Woet about not running commands you don’t understand. Same goes with blindly copy/paste commands from the Internet.
With that said this will give what your are asking. Reading up about apt-get will hopefully help.
Update your apt cache
sudo apt-get update
I like use the “-s” (dash letter s; simulate) command switch see what will be installed, update and removed before applying the upgrade.
sudo apt-get -s upgrade
When ready to install the upgrades
sudo apt-get -y upgrade
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.