PDA

View Full Version : [ubuntu] how to update installed packages via ssh on vps?



geekcube
July 11th, 2011, 11:05 PM
installed on: vps using 10.10 64 bit

i just want to make sure my lamp stack, mongo + other installed software is up to date, but i only have ssh. i run apt-get update, and it shows me available package, but it does not install the updates.

is there a quick command for this?

i tried searching for "update 10.10" before posting this thread.

thanks inadvance :)

papibe
July 13th, 2011, 10:51 PM
'apt-get update' does not modify any software installed in your server. What it does is update the list of changes that are available. In order to actually get the newest versions you need to ran an upgrade.

They both are usually run one after the other:

$ sudo apt-get update
$ sudo apt-get upgrade
Regards.