How to upgrade Ubuntu 12.04 LTS to Ubuntu 14.04 LTS

This article shows how to upgrade Ubuntu 12.04 LTS to Ubuntu 14.04 LTS.

Warning: Before upgrading, backup your data.

Note that it is generally not recommended to upgrade from one LTS (Long-Term Support) release to the latest LTS edition until a point edition of the latest LTS has been released. For example, you are not expected to upgrade a previous LTS edition to Ubuntu 14.04 until Ubuntu 14.04.1 has been released.

But that’s just a recommendation, which I’m not very good at following. So if you are like me and want to upgrade you copy of Ubuntu 12.04 LTS to Ubuntu 14.04 LTS, this post shows what you need to do. If you have an updated installation of Ubuntu 12.04, it should really be Ubuntu 12.04.4.

Another thing to keep in mind. I did not lose any data with this process, though one system setting was reverted to the default. But it was likely because that particular system module (System Settings > Appearance) changed in Ubuntu 14.04. The setting that I’m referring to handles auto-hiding of the launcher (see 4 things to do after installing Ubuntu 14.04).

To begin the upgrade process, launch the Software & Updates manager, then click on the Updates tab. From the “Notify me of a new Ubuntu version,” select For long-term support versions. If you select anything else, you will likely be upgrading to Ubuntu 12.10, not Ubuntu 14.04.
Upgrade Ubuntu 12.04 LTS

Now, open a shell terminal and type sudo do-release-upgrade -d. You may view the output from the beginning to the end of the process here. After the upgrade, you will be promoted to reboot. If you are running the system in a virtual environment, it is likely that you will encounter the problem described in Solution for low screen resolution after upgrading to, or installing, Ubuntu 14.04.

Here are a few screenshots from my test installation after the upgraded completed.

After rebooting, this screenshot shows the best screen resolution that I could get and a system upgrade problem that came up. But that seems to be a known issue with Ubuntu 14.04. See Solution for low screen resolution after upgrading to, or installing, Ubuntu 14.04 for the solution.
Ubuntu 14.04 low screen resolution

This one shows the top part of the bug report.
Ubuntu 14.04 low screen resolution

And this one shows the bottom part of that same report. After fixing the low screen resolution problem, everything worked just fine. And the entire process took less than two hours.
Ubuntu 14.04 low screen resolution

Related Posts

How to install Steam Client on Fedora 20 This tutorial shows how to install Steam on Fedora 20 (install Steam on Fedora 20). Fedora 20 is the latest edition of the popular, multi-purpose Linu...
Restore the Windows bootloader to MBR after dual-booting with Linux If you are reading this, you have likely attempted or actually set up a dual-boot system between your favorite Linux distribution and Windows. And if ...
Install Cinnamon 2.0 on Ubuntu 13.10 “Saucy Salamandar” Cinnamon 2.0, the latest edition of the Cinnamon desktop environment, was released just eight days ago, while Ubuntu 13.10, the latest version of the ...
How to install TwitteR, a Twitter client for R Installing packages in R is pretty easy, if you know the name of the package you wish to install. Just pass the name of the package to the install.pac...
How to install Fedora 15 on an encrypted btrfs file system Fedora 15, the latest stable release of the Red Hat-sponsored Linux distribution, is the first Fedora release to have btrfs, the B-tree File System (a...
Printer configuration and management on PC-BSD 8 PC-BSD is a desktop-centric distribution based on FreeBSD. The latest stable version, released just this week, is PC-BSD 8. On most Linux, desktop dis...

We Recommend These Vendors and Free Offers

ContainerizeThis 2016 is a free, 2-day conference for all things containers and big data. Featured, will be presentations and free, hands-on workshops. Learn more at ContainerizeThis.com

Launch an SSD VPS in Europe, USA, Asia & Australia on Vultr's KVM-based Cloud platform starting at $5:00/month (15 GB SSD, 768 MB of RAM).

Deploy an SSD Cloud server in 55 seconds on DigitalOcean. Built for developers and starting at $5:00/month (20 GB SSD, 512 MB of RAM).

Want to become an expert ethical hacker and penetration tester? Request your free video training course of Online Penetration Testing and Ethical Hacking

Whether you're new to Linux or are a Linux guru, you can learn a lot more about the Linux kernel by requesting your free ebook of Linux Kernel In A Nutshell.


4 Comments

  1. Some articles say that 12.04 users will be offered to upgrade on 24th July. is it true ?

  2. I think rolling release distros are the only ones useful for non nerd users. And please, 1GiB of upgrade twice a year and only security relevant stuff in the meantime, not 100MiB per day as with arch. Otherwise there is to much to explain to my beloved relatives.

  3. How do you integrate ppas (Personal Package Archives) e.g. mate-desktop or cinnamon-desktop into this already a little bit annoying upgrade process? At least up to this point there is only 1 major problem to solve.
    btw, how long was the upgraded system in use before upgrading? How many users did work with it?

    • Unless you are using a distro that uses a rolling-release development model, the upgrade process will always take some effort from you.

      Regarding PPAs, any (PPA) that is active on the system being upgraded is deactivated, so that is one thing that you have to deal with after the upgrade has completed. Which means having to re-enable the PPA.

      The system I upgraded has been in use for about a year, but it’s not my primary system, and it’s a single-user system

      That said, it doesn’t matter how long the system has been in use or how many users are using it, the upgrade will work and you won’t lose data, except modified system settings that were enhanced.

      Hopefully in the near future, we will not have to deal with upgrades of this sort in Ubuntu as there’s an ongoing discussion in some circles to make the distro a rolling release distro.

Leave a Comment

Your email address will not be published. Required fields are marked *

*