Question

How to upgrade Ubuntu 12.04 LTS to Ubuntu 14.04 LTS

  • Posted August 7, 2014

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.

Subscribe
Share

Did you find an answer? I’m wondering the same thing.


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

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.

The link below helped me https://smyl.es/how-to-fix-ubuntudebian-apt-get-404-not-found-package-repository-errors-saucy-raring-quantal-oneiric-natty/

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/archive.ubuntu.com|security.ubuntu.com/old-releases.ubuntu.com/g’ /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.**