How to upgrade Ubuntu 12.04 LTS to Ubuntu 14.04 LTS

Hi there. I’ve been trying to upgrade Ubuntu 12.04 LTS to Ubuntu 14.04 LTS by typing sudo do-release-upgrade on terminal but I end up with “command not found” being outputted.

I’m afraid I’ll have to create a new droplet with Ubuntu 14.04 LTS installed and then set up all my server stuff again such as LEMP Install, Nginx configuration etc.

Is there another way to officially upgrade to Ubuntu 14.04 LTS while keeping the same custom set up Digitalocean sets for its “1 click image install”?

I’d really appreciate any help regarding this issue.

Thanks in advance.

Show comments

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.

The link below helped me

The essence of it is that the software sources file must be updated with workable URLs then you can update to 13.04. Then run the process again to reach 13.10. Running a update process a third time will get to the latest LTS. Your milage may vary. These steps worked for me.

  1. Update sources sudo sed -i -e ‘s/|’ /etc/apt/sources.list

  2. Install the update manager sudo apt-get install update-manager-core

  3. Do these next four steps in a loop until you reach the Ubuntu LTS version you want sudo apt-get update && sudo apt-get upgrade sudo reboot sudo do-release-upgrade sudo reboot

  4. Remember to set the kernel version in the Digital Ocean console. You can view the kernels installed on your box in /lib/modules ls /lib/modules

sudo apt-get install update-manager-core

Now if you could help me with my issue with going from 12.10 to 14.04 LTS. I made a huge mistake and installed 12.10 and now have no upgrade path.

****it maybe my laptop has problem because i cannot install wine on it

ubuntu software center This error could be caused by required additional software packages which are missing or not installable. Furthermore there could be a conflict between software packages which are not allowed to be installed at the same time.**