Can't upgrade ubuntu server from 10.04 LTS to 12.04 LTS
To upgrade Ubuntu 10.04 server to 12.04
First make sure that you have the latest updates
sudo apt-get update & sudo apt-get upgrade
Install update-manager-core
sudo apt-get install update-manager-core
Edit /etc/update-manager/release-upgrades
and set Prompt=lts
Launch the upgrade tool, and follow the on-screen instructions:
sudo do-release-upgrade -d
Source: http://library.linode.com
Install update-manager-core .
sudo apt-get install update-manager-core
edit /etc/update-manager/release-upgrades
and set Prompt=lts
then do as do-release-upgrade.