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 am working with Ubuntu servers since some month, so not too long. I never upgraded an ubuntu version. So right now I am running 12.04 and what I need is 13.04. I once hear that I should first upgrade to 12.10 and than to 13.04 (for me that doesn't make too much sense, but I am not sure).

When I run sudo do-release-upgrade -d Ubuntu wants to install 14.04. As far as I know 13.04 is now the stable version. How to achieve the step by step upgrading? Even though it's not the best way, I want to try it out on my virtual machine.

share|improve this question
You won’t be able to upgrade directly from 12.04 LTS to 13.04 (unless you reinstall the OS). You will have to first upgrade to 12.10, then upgrade to 13.04. I think the reason you get 14.04, is because its the next LTS version. – Mitch Jan 9 '14 at 14:25
ah ok, so ubuntu always trys to go to the next lts version? but isn't 13.04 a lts version as well ? and can you tell me how to upgrade from 12.04 to 12.10 to 13.04 ? – Private Jan 9 '14 at 14:26
No 13.04 is not an LTS version. – Mitch Jan 9 '14 at 14:28
thanks mitch. so every 2 years a new lts? or whats the rule ? – Private Jan 9 '14 at 14:30
@Private Do not use a development release on a server... Its recommended that if you need something more recent you upgrade to a non LTS or wait until the next LTS is released. – Bruno Pereira Jan 9 '14 at 14:59
up vote 6 down vote accepted

The reason you get 14.04 as an upgrade option is because you are running an LTS version at the moment and the next LTS release is 14.04, and you are only having that possibility because you are using the -d flag (development).

You should not upgrade your servers to a under development version.

To enable release upgrades from a LTS you need to tell the upgrade tool that you are ok if the next upgrade is a non LTS.

You need to change the option on the configuration file from LTS to normal and then run the upgrade tool without the -d option to upgrade your server to the next non LTS release.

share|improve this answer

protected by RolandiXor Jan 9 '14 at 15:14

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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