≡ Menu

HowTo: Upgrade To a Newer Version of Ubuntu 14.04 LTS

Ubuntu Linux version 14.04 LTS has been released. How do I upgrade to a newer version of Ubuntu 14.04 LTS from Ubuntu 13.10 or 12.04 LTS?

You can upgrade from minor or major release of Ubuntu easily and recommended for all users.
Tutorial details
DifficultyIntermediate (rss)
Root privilegesYes
RequirementsUbuntu 12.04LTS or 13.10+
Estimated completion time20-30m

Back up any important data on the Ubuntu server

Make a backup - it cannot be stressed enough how important it is to make a backup of your system before you do this. Most of the actions listed in this post are written with the assumption that they will be executed by the root user running the bash or any other modern shell. Type the following commands to see current version:
$ uname -mrs
$ lsb_release -a

Sample outputs:

Linux 3.2.0-51-generic x86_64
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 12.04.4 LTS
Release:	12.04
Codename:	precise

How do I upgrade to a newer version of Ubuntu, such as v14.04, from an older v13.10 on a server system?

Type the following command to update package list and instal the update-manager-core package if it is not already installed:
$ sudo apt-get update
$ sudo apt-get install update-manager-core

Next, type the following command to upgrade the Ubuntu server to the latest release such as LTS 14.04 from the command-line. This is the recommended command as the server has no graphic environment or if the server is to be upgraded over a remote connection using ssh client:
$ sudo do-release-upgrade
The do-release-upgrade will launch the upgrade tool. You need to follow the on-screen instructions.

Fixing and forcing upgrade

You may end up getting the following message on screen when you run sudo do-release-upgrade

Checking for a new Ubuntu release
No new release found

Warning: The following method will check if upgrading to the latest devel (also known as unstable) release is possible via -d option.

To force upgrade pass the -d option to sudo do-release-upgrade command:

 
sudo do-release-upgrade -d
 

A note about upgrading from Ubuntu 13.10 on a desktop system

First, you need to remove all 3rd party binary drivers such as NVIDIA or AMD graphics card driver. Once removed and rebooted the desktop, press Alt+F2 and type in update-manager into the command box:

update-manager

Update Manager should open up and tell you: New distribution release '14.04 LTS' is available. Just click Upgrade and follow the on-screen instructions to upgrade your desktop systems.

Please note that all LTS desktop users need to wait till the first release called Ubuntu LTS v14.04.1 will be released by Canonical LTD. If you do not want to wait till LTS v14.04.1, pass the -d option to the update-manager command as follows to upgrade Ubuntu 12.04 LTS to Ubuntu 14.04 LTS:

 
sudo update-manager  -d
 

Reboot the server/desktop

Finally, reboot the system:
$ sudo reboot
Verify, your new settings:
$ lsb_release -a
$ uname -mrs
$ tail -f /var/log/app/log/file

Finally, reinstall 3rd party binary drivers.

Tweet itFacebook itGoogle+ itPDF itFound an error/typo on this page?

{ 46 comments… add one }

  • Aditya April 17, 2014, 6:00 pm

    Didn’t understand the logic behind removing 3rd party Drivers…anyways would tray this in a while and let you know if it worked

    • Nix Craft April 18, 2014, 4:32 am

      3rd party drivers only works with current kernel and will not work with newer version. You may see blank screen with older driver version. Hence, remove, update, and reinstall to save time.

  • drcreazy April 17, 2014, 6:19 pm

    Please correct the misspell “sudp apt-get install update-manager-core” to “sudo apt-get install update-manager-core”

    • Nix Craft April 18, 2014, 4:24 am

      Thanks for the heads up! The faq has been updated to include both of your suggestions. I appreciate your post.

  • Jean Veljean April 17, 2014, 6:48 pm

    My 13.10 server says there is no new version when I issue the
    $ sudo do-release-upgrade

    • ali firdaus May 6, 2014, 10:03 am

      do next command:
      # $ do-release-upgrade -d
      it work to me.

  • cccccc April 17, 2014, 6:57 pm

    uname -mrs
    Linux 3.11.0-20-generic x86_64

    lsb_release -a
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description: Ubuntu 13.10
    Release: 13.10
    Codename: saucy

    sudo do-release-upgrade
    Checking for a new Ubuntu release
    No new release found

    can’t upgrade :(

  • drcreazy April 17, 2014, 6:57 pm

    In case if you get “No new release found” message try following:

    sudo apt-get install update-manager-core
    sudo do-release-upgrade -d

    • ADITYA April 17, 2014, 8:20 pm

      @drcreazy :thanks bro…it worked :)

    • Kamil April 17, 2014, 8:56 pm

      thanks for tip!
      I got over and over no new release issue

    • philena April 17, 2014, 9:25 pm

      Thanks.. That got it going! :)

    • lutonmossy April 17, 2014, 11:00 pm

      drcreazy – this was really helpful. Tried for ages to update to 14.04 from 12.04. Failed with all methods. That second line did it. Many thanks.

    • Tupah AT April 18, 2014, 10:18 am

      Follwg result in my case:
      alviny@Tupah-laptop:~$ sudo apt-get install update-manager-core
      Reading package lists… Done
      Building dependency tree
      Reading state information… Done
      update-manager-core is already the newest version.
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      alviny@Tupah-laptop:~$ sudo do-release-upgrade -d
      Checking for a new Ubuntu release
      No new release found
      alviny@Tupah-laptop:~$

      • eacousineau January 20, 2015, 5:17 am

        I have the same issue… I’m searching for alternatives at the moment.

  • GoBuntu April 17, 2014, 8:09 pm

    Hello, thank you , but i did not get the message on the Update Manager ( i have Ubuntu 12.04.4 LTS) what should i do please ?

  • Aaron April 17, 2014, 8:54 pm

    I get this in Ubuntu 12.04 after “$ sudo do-release-upgrade”:
    No new release found

  • -bitMAN- April 17, 2014, 9:07 pm

    It works! Thanks drcreazy. I’ve been all morning trying to force my installation to updagrade itself to 14.04. For some reason it keep telling me that it was ‘up to date’ until I tried that command line trick.

    Downloading 693MB (aprox.) which should take around 30 minutes.

  • Keecode April 17, 2014, 10:48 pm

    Thanks drcreazy.

  • anand April 18, 2014, 8:58 am

    Is it safe to upgrade live server. Will the software like mysql and nginx will also be upgraded?

    Just wanted to know what are the chances of getting failed.

    PS: Backup will be ready for any crisis.

  • aSteve April 18, 2014, 2:39 pm

    Please can you explain the logic in “forcing” the upgrade with “-d”?

    Wouldn’t using ‘-d’ put you on the development branch?

    • alkh3myst April 20, 2014, 3:05 am

      Yeah, that’s my understanding too. You end up potentially getting unstable kernels, not to mention orphaned/broken packages with unmet dependencies. I don’t see this as being good advice.

      • Nix Craft April 20, 2014, 2:00 pm

        I agree, the faq has been updated with a warning box. Thanks!

        • Mark April 20, 2014, 6:04 pm

          Which is fine, but why would you need to use ‘-d’ to force the upgrade anyway?

          If 14.04 is an official release, and the standard command should work for an upgrade from 12.04 then why is it generating the “No release found” message? I don’t really want to force my live server into using the development branch, I want the official upgrade.

          • Nix Craft April 21, 2014, 9:30 am

            All LTS desktop users need to wait till July, when the first release called 14.04.1 will be out. If you do not want to wait till LTS 14.04.1, pass the -d option to the update-manager command i.e.:

            sudo update-manager  -d
  • Luke April 18, 2014, 5:46 pm

    I must be in a minority, or, something isn’t clicking in my head. I’m new to linux for desktop (but not new to linux overall) .. so maybe there is just some terminology I’m missing…

    Anyway … you titled a section:
    “How do I upgrade to a newer version of Ubuntu 14.04 from 13.10 on a server system?”

    I’m being genuine when I say that I may just be an idiot here, but am I the only one who notices the broken English there? “newer version of Ubuntu 14.04″ … from “13.10”… you can’t get a newer version of 14.04… if you have 13.10.

    To me, it seems more appropriately worded as “How do I upgrade to a newer version of Ubuntu, such as 14.04, from 13.10 on a server system?”

    Normally I would just ignore it as a typo or whatever.. I’m not trying to criticize grammar on the interweb… or suggest that I am any better… its just that I saw a similar weird statement just minutes ago on Ubuntu.com and it has me thinking that I am missing some terminology or something here.

    In an article titled “Upgrade from Ubuntu 13.10 to 14.04 LTS” .. the second sentence is “If you have a version of Ubuntu other than Ubuntu 14.04 LTS, please read the upgrade notes for more information on how to upgrade.”…

    Eh?!? An article titled 13.10 to 14.04 … but … then they more or less say “this article is for people running 14.04..”

    Someone, please tell me what I’m missing…

    Thanks,
    Luke

    • Nix Craft April 20, 2014, 2:01 pm

      The faq has been updated. I appreciate your post and feedback.

  • M1 April 18, 2014, 7:39 pm

    got “No new release found” at 1st, using sudo do-release-upgrade

    Tried
    apt-get update
    sudo do-release-upgrade -d
    no error, and worked fine to upgrade.
    Was on a 12.04 LTS server version, upgraded to 14.04, no probs…

  • Gilbert April 19, 2014, 10:24 am

    I have done the upgrade on my DELL M65.
    Once rebooting & loging, the screen remains darks and nothing happens. Di I miss something?

    • Gilbert April 20, 2014, 6:54 am

      Note that being on 13.10, I first used the Upgrade facility on system demand. No error has been reported but I get a Black screen once I log on 14.04.
      I burned a DVD with an 14.04 ISO, booting or reinstalling 14.04 from the DVD, I get the same issue.

      • Gilbert April 21, 2014, 7:38 am

        Issue finaly solved using the “Modeset” setting as explained here. I performed a “sudo apt-get update” then Resetting the proper NVIDIA drivers & rebooting it works fine.

        Thanks;
        Gilbert

        • Nobody April 21, 2014, 2:27 pm

          Thanks mate! My issue was resolved.

  • Aung April 23, 2014, 4:48 pm

    My current Ubuntu version is 12.04 and 12.10 is still new release and doesn’t change to 14.04. I select ‘notify me for any new version’ at settings. Why is that?

  • Memo April 24, 2014, 3:34 am

    Have no idea what to do, got this error:

    Error during update

    A problem occurred during the update. This is usually some sort of network problem, please check your network connection and retry.

    W:Failed to fetch http://mx.archive.ubuntu.com/ubuntu/dists/natty-backports/main/source/Sources  404  Not Found [IP: 91.189.91.15 80]
    , W:Failed to fetch http://mx.archive.ubuntu.com/ubuntu/dists/natty-backports/restricted/source/Sources  404  Not Found [IP: 91.189.91.15 80]
    , W:Failed to fetch http://mx.archive.ubuntu.com/ubuntu/dists/natty-backports/universe/source/Sources  404  Not Found [IP: 91.189.91.15 80]
    , W:Failed to fetch http://mx.archive.ubuntu.com/ubuntu/dists/natty-backports/multiverse/source/Sources  404  Not Found [IP: 91.189.91.15 80]
    , E:Some index files failed to download. They have been ignored, or old ones used instead.
    
    • Dean June 4, 2014, 12:56 am

      You may need to remove /etc/apt/sources.list.d/precise.list

  • madhu May 14, 2014, 9:10 am

    I am currently using ubuntu 12.04 and want to upgrade to 14.04. Update manager shows that the upgrade available is 12.10. I tried all the steps explained, but the upgrade option is available only to 12.10. How do I proceed?

  • dweh May 26, 2014, 8:24 am

    I keep getting this message Can not run the upgrade
    This usually is caused by a system where /tmp is mounted noexec. Please remount without noexec and run the upgrade again.
    ummm how to do this??

    • Nix Craft May 26, 2014, 9:28 am

      Run:
      sudo mount -o rw,exec,suid,dev,remount /tmp

  • shashi bhusan mishra June 16, 2014, 11:35 am

    hello i followed all the commands, i first upgraded from 12.04lts to 12.10. but after that it failed.
    sudo apt-get install update-manager-core
    sudo do-release-upgrade -d
    but it showed
    Checking for a new Ubuntu release
    No new release found

    can anyone please tell me how to upgrade.

  • Harishchanddra Patil June 18, 2014, 10:46 am

    Hello all……….>I am new to Ubuntu. I am just Ubuntu user, i don’t know anything about any software issues with it. I am using Ubuntu 12.04. I wann upgrade the same. I have not tried yet with any of the process given above. If i upgrade to new version of Ubuntu ( 12.04 to 14.04), I have following queries:
    1. Will my data on various drives like D,E,F or /dev/sda5 ; /dev/sda6; /dev/sda7 will be affected? There is more than 150GB data on these drives and its so important. Total HD is of 320GB.
    2. Do i need to save all my data from Desktop or folders from home folder ?
    3. Will i need to re install various software i have on 12.04 like Matlab, Latex, Scilab, Labview……………etc.?
    4. In case if upgrade process fails, will i be able to work with old Ubuntu(12.04) without any issues/process with respect to my data on various drives and software ?
    5. whats will be the major damage to my data saved on there various drives/partitions if upgrade process fails.?
    6. Since I am lay man for Ubuntu installations and up gradation process, can i dare to follow the above procedures/process for up gradation?
    ………………………..
    I know for you all Ubuntu technocrat, this may be silly things…………..but i just wann confirm ……………so that I can dare to do so.

    Thanking you all in advance for bearing me and helping me,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,hahahahahah

  • Casimiro September 4, 2014, 11:23 pm

    Hello i am new to use ubunto at first i have instaled ubuntu 10.4 and i updated to 12.04 but now since last month i have been trying to update to 14.04 and is giving me to much problem. When i tryed it is showing me an error like this:
    THIS USUALLY IS CAUSED BY A SYSTM WHERE /TMP IS MOUNTED NOEXEC. PLEASE REMOUNT WITHOUT NOEXEC AND RUN THE UPDATE AGAIN.
    the queston is what i hae to do tu fixe this thing. please helpe me
    Regards
    Casimiro

  • Yousuf November 11, 2014, 4:10 pm

    Hello, How can upgrade 14.04 using iso image? thanks

  • Michael November 14, 2014, 1:10 pm

    If i have in “lsb_release -a” this:
    LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:cxx-3.0-amd64:cxx-3.0-noarch:cxx-3.1-amd64:cxx-3.1-noarch:cxx-3.2-amd64:cxx-3.2-noarch:cxx-4.0-amd64:cxx-4.0-noarch:desktop-3.1-amd64:desktop-3.1-noarch:desktop-3.2-amd64:desktop-3.2-noarch:desktop-4.0-amd64:desktop-4.0-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.0-amd64:graphics-3.0-noarch:graphics-3.1-amd64:graphics-3.1-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-3.2-amd64:printing-3.2-noarch:printing-4.0-amd64:printing-4.0-noarch:qt4-3.1-amd64:qt4-3.1-noarch
    Distributor ID: Ubuntu
    Description: Ubuntu 12.04.5 LTS
    Release: 12.04
    Codename: precise

    What i should do?

  • Leelee305 November 28, 2014, 8:55 pm

    I am forcing the install of 14.04 now. My upgrade was interrupted when my laptop died (fell asleep, oops!) when I turned it back on there was a black screen and a box with system download error. Tried everything from various threads. Fingers crossed this works.

  • jhem viar February 10, 2015, 8:58 am

    it takes forever for my OS to upgrade to 14.04 LTS. it stopped in ‘preparing gcaltool’ what should i do? i just pressed upgrade and follow the instructions given.

  • Choperro February 16, 2015, 11:58 pm

    The problem with these instructions is that the important parts: delete modules, etc. are not explained. The explained parts are the ones that are the same for every release upgrade.

    The upgrade can be donde without the first commands.
    All those lsb_release and uname are not needed as you can see from the same instructions.

  • Chris S June 19, 2015, 9:39 pm

    I just upgraded from 12.04 LTS to 14.04 LTS, though it took over an hour. Thanks for the tutorial.

Leave a Comment