Ubuntu 14.04 LTS (Trusty Tahr) released and its time to upgrade
Ubuntu 14.04 LTS
Ubuntu 14.04, codenamed Trusty Tahr has been just released a few hours ago and its time to upgrade to get the latest Ubuntu. Its the first release of this year and is an long term release that shall get support till April 2019. To learn about what's new in 14.04 check out the release notes.
Ubuntu 13.10 and 12.04 LTS users should be able to safely upgrade to 14.04 LTS throught the the update-manager. For other versions, the recommended way is to re-install Ubuntu.
Upgrade Ubuntu on desktop
The steps to upgrade Ubuntu on the desktop are quite simple. First update your package cache and all packages using apt, and then use update-manager to upgrade to the next version of the Ubuntu.
1. Upgrade all packages
$ sudo apt-get update $ sudo apt-get upgrade
If you get a message that "The following packages have been kept back" then you need to run apt-get with dist-upgrade to upgrade all packages.
$ sudo apt-get dist-upgrade
If the linux kernel is upgraded in the process, then you would have to restart the machine before proceeding.
2. Disable any failed PPA repositories
While doing apt-get update, if apt fails to download repository information for any ppa, then disable those ppas before continuing to update-manager.
W: Failed to fetch http://ppa.launchpad.net/kazam-team/stable-series/ubuntu/dists/saucy/main/binary-amd64/Packages 404 Not Found W: Failed to fetch http://ppa.launchpad.net/kazam-team/stable-series/ubuntu/dists/saucy/main/binary-i386/Packages 404 Not Found E: Some index files failed to download. They have been ignored, or old ones used instead.
Disable those PPAs from "Software Sources" or Synaptic package manager. If the failed PPAs are not disabled, update-manager (in the next step) would complain - "Failed to download repository information".
3. Upgrade with update-manager (Software Updater)
Press Alt+F2 and type in "update-manager" without the quotes in the command box and press enter, or launch Software Updater from the Applications menu.
Alternatively run update-manager from the terminal if you prefer to.
$ sudo update-manager -d
Once update manager informs you that new version is available, go ahead to upgrade to it
Next, a dialog box with the Release Notes would come up. Press the Upgrade button on it.
Upgrade Ubuntu on server
To upgrade Ubuntu on your remote server, it has to be done entirely from the command line, since no gui is available.
1. Prepare the system
$ sudo apt-get update $ sudo apt-get upgrade $ sudo apt-get dist-upgrade
2. Upgrade to 14.04
$ sudo apt-get install update-manager-core $ sudo do-release-upgrade -d
That should complete the upgrade landing you on the brand new Ubuntu 14.04.
Other flavors of Ubuntu like Xubuntu, Lubuntu and Kubuntu are also ready to be upgraded to 14.04
Just follow the same instructions shown above to upgrade. Kubuntu users can use the Muon updater tool instead of Update Manager.