Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

How do I upgrade an older version of Ubuntu Server (Jaunty, for example) to a specific later version (Lucid, for example) using the command line?

I'm concerned that dist-upgrade is going to update to the latest, which is not LTS


  • has to be command line
  • our internal mirror has removed the Jaunty images
  • tried editing /etc/update-manager/release-upgrades to use only LTS versions, but it hangs. (trying to reach an outside server?)

Update: It seems Jaunty to Lucid is not possible (directly) ref, but my question was still for the more general case

share|improve this question

1 Answer 1

dist-upgrade does not technically perform a release upgrade. You're looking for the do-release-upgrade command. If you've got /etc/update-manager/release-upgrades set to prompt=LTS and the packages are available on your mirror it should work. If not, I would suggest verifying the packages on the mirror next.

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.