Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

There is a ubuntu server 12.04 LTS; and I want to be up to date and updated with security updates and have the most up to date version of packages installed.

but i do not want the server to change from LTS version to other versions. IF So only from one LTS version to another LTS version. What commands should I regularly use to keep the server up to date ??

share|improve this question

1) Update your local package index with your sources,

apt-get update

2) Upgrade the newest version of all the packages you have installed,

apt-get upgrade

apt-get upgrade will use the sources that are listed under /etc/apt/sources.list

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.