Upgrade Ubuntu 10.04 to 12.04

Following is guide to upgrade from Ubuntu 10.04 LTS to Ubuntu 12.04 LTS.

Make sure you are running a screen session before continuing.


Update & upgrade all packages

apt-get update
apt-get upgrade

Install update-manager-core package:

apt-get install update-manager-core

Upgrade distro itself

You are now ready to upgrade to Ubuntu 12.04 LTS.

Open the release-upgrades file for editing by entering the following command:

vim /etc/update-manager/release-upgrades

Verify that the following line is present in the file, and that Prompt is set to lts:


Start a screen session:

screen -S distro

Upgrade your Linode to Ubuntu 12.04 LTS by entering the following command:

do-release-upgrade -d

Follow the on-screen instructions to complete the installation process.

When the upgrade process completes, verify that it’s running Ubuntu 12.04 LTS by entering the following command

cat /etc/lsb-release

You should see output that resembles the following:


Book a strategy call
with our experts

No obligation. Limited slots.

Contact Form Business Enquiry

"*" indicates required fields

Please attach any RFP, project specification, or document that you would like to share.
Drop files here or
Max. file size: 50 MB.
    This field is for validation purposes and should be left unchanged.