HowTo: Upgrade To a Newer Version of Ubuntu 14.04 LTS

by on April 17, 2014 · 39 comments· LAST UPDATED April 21, 2014

in , , ,

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.

TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 39 comments… read them below or add one }

1 Aditya April 17, 2014 at 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

Reply

2 Nix Craft April 18, 2014 at 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.

Reply

3 drcreazy April 17, 2014 at 6:19 pm

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

Reply

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

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

Reply

5 Jean Veljean April 17, 2014 at 6:48 pm

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

Reply

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

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

Reply

7 cccccc April 17, 2014 at 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 :(

Reply

8 drcreazy April 17, 2014 at 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

Reply

9 ADITYA April 17, 2014 at 8:20 pm

@drcreazy :thanks bro…it worked :)

Reply

10 Kamil April 17, 2014 at 8:56 pm

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

Reply

11 philena April 17, 2014 at 9:25 pm

Thanks.. That got it going! :)

Reply

12 lutonmossy April 17, 2014 at 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.

Reply

13 Tupah AT April 18, 2014 at 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:~$

Reply

14 GoBuntu April 17, 2014 at 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 ?

Reply

15 Aaron April 17, 2014 at 8:54 pm

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

Reply

16 -bitMAN- April 17, 2014 at 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.

Reply

17 Keecode April 17, 2014 at 10:48 pm

Thanks drcreazy.

Reply

18 anand April 18, 2014 at 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.

Reply

19 aSteve April 18, 2014 at 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?

Reply

20 alkh3myst April 20, 2014 at 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.

Reply

21 Nix Craft April 20, 2014 at 2:00 pm

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

Reply

22 Mark April 20, 2014 at 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.

Reply

23 Nix Craft April 21, 2014 at 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

Reply

24 Luke April 18, 2014 at 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

Reply

25 Nix Craft April 20, 2014 at 2:01 pm

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

Reply

26 M1 April 18, 2014 at 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…

Reply

27 Gilbert April 19, 2014 at 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?

Reply

28 Gilbert April 20, 2014 at 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.

Reply

29 Gilbert April 21, 2014 at 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

Reply

30 Nobody April 21, 2014 at 2:27 pm

Thanks mate! My issue was resolved.

Reply

31 Aung April 23, 2014 at 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?

Reply

32 Memo April 24, 2014 at 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.

Reply

33 Dean June 4, 2014 at 12:56 am

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

Reply

34 madhu May 14, 2014 at 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?

Reply

35 dweh May 26, 2014 at 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??

Reply

36 Nix Craft May 26, 2014 at 9:28 am

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

Reply

37 shashi bhusan mishra June 16, 2014 at 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.

Reply

38 Harishchanddra Patil June 18, 2014 at 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

Reply

39 Casimiro September 4, 2014 at 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

Reply

Leave a Comment

Tagged as: , ,

Previous Faq:

Next Faq: