Question

How do I upgrade a droplet's ubuntu distribution?

  • Posted on October 14, 2013
  • jclee8Asked by jclee8

My google-fu is failing me; how do I upgrade a droplet’s ubuntu distribution? For instance, if I start a 13.04 droplet, how do I upgrade it to a 13.10 droplet when it comes out? Or given current releases, if I had a 12.10 droplet, how would I upgrade it to a 13.04 droplet? I know I have to select the kernel somewhere, but I’m not sure where that is in the process.

If it’s not easy to upgrade a droplet’s distribution version number, I might just stick with 12.04 for now for the long term support; ubuntu’s support window for intermediate releases is fairly narrow.


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.

sudo apt-get dist-upgrade was not sufficient to upgrade 12.10 to 13.04 from the command line. It didn’t pick up the new release. <br> <br>This, however, worked for me in my test: <br> <br>sudo apt-get install update-manager-core <br>sudo do-release-upgrade <br>poweroff <br>droplet -> settings -> kernel -> choose kernel for 13.04 <br>boot <br> <br>lsb_release -a shows that it’s now upgraded to 13.04 <br>uname -a shows the selected kernel <br> <br>Hope that helps someone with the same question, if it wasn’t already answered before

There may be other ways, but the only way that I know of is within your DigitalOcean control panel: <br> <br>1.) Click on the link to the droplet you want to upgrade; <br>2.) In the <code>Destroy</code> tab, there’s an option to <code>Rebuild</code> your droplet with a different image. <br> <br><b>But, be advised that all data on your droplet will be lost.</b>

sudo apt-get update <br>sudo apt-get upgrade <br>sudo apt-get dist-upgrade