Ubuntu – Upgrade from lucid to precise

10.0412.04upgrade

I am running lucid, and would like to upgrade to precise. I have changed the settings in Update Manager to "Long term support releases only", but I only get the option "New Ubuntu release '10.10' is available". I thought it was possible to upgrade directly from one LTS to the next (i.e. go direct from lucid to precise). Is that right, or would I have to go through all the intermediate versions?

To add some extra details, running "lsb_release -a" gives:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.04.4 LTS
Release: 10.04
Codename: lucid

In /etc/update-manager/release-upgrades I have Prompt=lts

Running do-release-upgrade gives the output:
Checking for a new ubuntu release
Failed Upgrade tool signature
Failed Upgrade tool
Done downloading
Failed to fetch
Fetching the upgrade failed. There may be a network problem.

Carlos.

Best Answer

In shell, this is just a simple apt-get command. First update the lists and upgrade any packages:

sudo apt-get update
sudo apt-get upgrade

And then upgrade your distribution:

sudo apt-get dist-upgrade

(Might take a while!)

If that doesn't work you need to use update manager:

sudo aptitude install update-manager-core
sudo do-release-upgrade

Can you confirm you're on Lucid:

lsb_release -a

Should report four lines with 10.04 and lucid in there. Next thing is you need upgrade manager to move to the next LTS, not 10.10 which you mention above... vi /etc/update-manager/release-upgrades

Prompt=lts

Try and run do-release-upgrade again, if you could paste out the actual fail message (in your Q) it'd be helpful too.

Related Question