PDA

View Full Version : [SOLVED] update via CLI



k33bz
September 16th, 2009, 04:19 AM
On my server, I know there is numerous files by now that need to be updated. However I do not know how to list those files nor update them. Is there a way (CLI only) that I can view what needs to be updated and how do I update them.

scrooge_74
September 16th, 2009, 04:20 AM
sudo apt-get update

then

sudo apt-get upgrade

It takes care of itself after that

k33bz
September 16th, 2009, 04:22 AM
sudo apt-get update

then

sudo apt-get upgrade

It takes care of itself after that

Thanks for the reply, however I want to see what I am upgrading before I upgrade it. Some things I may not want to upgrade.

scrooge_74
September 16th, 2009, 04:37 AM
Easy, after doing the apt-get upgrade it is going to present you with a list of stuff to upgrade and then ask you if yey or nay for the upgrade.

And usually everything in the list for updates is there for a reason.

You can also just do sudo aptitude and then you get a nice display to choose stuff

k33bz
September 16th, 2009, 04:41 AM
Easy, after doing the apt-get upgrade it is going to present you with a list of stuff to upgrade and then ask you if yey or nay for the upgrade.

And usually everything in the list for updates is there for a reason.

You can also just do sudo aptitude and then you get a nice display to choose stuff

Thank-you :)

scrooge_74
September 16th, 2009, 04:43 AM
Any time