Question

Ubuntu 12.04 to 14.04 Upgrade

  • Posted on April 21, 2014
  • Joeb454Asked by Joe

I have an Ubuntu 12.04 LTS droplet, and I’d like to upgrade to Ubuntu 14.04 LTS. If I run ‘do-release-upgrade’, it returns no new releases, whereas running ‘do-release-upgrade -d’ will correctly get the new release.

If I continue after doing the latter command, it says “no valid mirror found”, and I don’t want to update the sources.list file to ‘trusty’ in case the DO mirror isn’t there. If this is a known thing and I should just say yes anyway, then I’ll go ahead and do it, I’d just like to know whether doing this upgrade is going to ruin my droplet!

Any help greatly appreciated, as I’ve not been able to find an answer anywhere so far.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

By default, Ubuntu LTS release won’t offer to upgrade to the next LTS until the first point release has been made. So <code>do-release-upgrade</code> won’t show anything until Ubuntu 14.04.1 is released, which is scheduled for July 24th. <br> <br>You can safely ignore the “no valid mirror” warning. You can see that the DigitalOcean mirror has trusty available: <br> <br>http://mirrors.digitalocean.com/ubuntu/dists/trusty/ <br> Check out <a href=‘https://www.digitalocean.com/community/tutorials/how-to-upgrade-ubuntu-12-04-lts-to-ubuntu-14-04-lts’>this tutorial</a> for a full guide on updating from Ubuntu 12.04 LTS to Ubuntu 14.04 LTS.

A bit late to the game but before people start running

do-release-upgrade -d

I’d like to take a minute to explain that this will cause your server to download the latest devel version of the 14.04 release. If you want to upgrade you can use the -p option to get the release version instead.

do-release-upgrade -p

@nezaboravi: Could you post all the errors found in <code>/var/log/apache2/error.log </code> ? You might also want to open a new question.