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

I'm using Hardy (server) on quite a few machines and I'd like to upgrade to the latest LTS. Is it safe to edit my sources.list file to just point to the new LTS, or should I do a succession of dist upgrades until I reach the latest LTS?

share|improve this question
up vote 8 down vote accepted

No. You should never just edit sources.list. Use the update-manager, or if you use command line, use do-release-upgrade. You can upgrade safely from LTS editions to other LTS editions, or otherwise, you need to step via each release. Only those pathways are supported, and prevent some issues that can otherwise occur with improper upgrades.

share|improve this answer

I believe you can upgrade directly from LTS to LTS, see e.g.

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.