Cheap VPS & Xen Server

Residential Proxy Network - Hourly & Monthly Packages

How To Upgrade Ubuntu 11.04 (Natty Narwhal) To 11.10 (Oneiric Ocelot) (Desktop & Server)

The new Ubuntu 11.10 (Oneiric Ocelot) has just been released. This guide shows how you can upgrade your Ubuntu 11.04 desktop and server installations to Ubuntu 11.10.

This document comes without warranty of any kind! I do not issue any guarantee that this will work for you!


1 Desktop

Start the Update Manager (System > Administration > Update Manager):


The Update Manager should show that a new distribution release (11.10) is available. Click on the Upgrade button to start the distribution upgrade:


A window with the release notes for 11.10 comes up. Click on Upgrade again:


The upgrade tool is now being downloaded. Afterwards, type in your password:


The upgrade is being prepared:


Click on Start Upgrade to finally begin with the upgrade process:


The upgrade packages are now being downloaded…


… and installed. This can take some time, so please be patient.


At the end of the upgrade process, you should remove obsolete packages:



The system needs to be rebooted to complete the upgrade, therefore click on Restart Now:


When you log in, Ubuntu 11.10 will by default start the new Unity desktop:


Welcome to your new your new Ubuntu 11.10 desktop:


If you want to use GNOME instead of Unity, you must install it first. Open the Ubuntu Software Center and search for gnome. Click on the Install button next to the GNOME package to install the GNOME desktop environment:


Afterwards log out of your desktop session. Back at the login screen, you now have the option to choose GNOME:


And this is how Ubuntu 11.10 looks with the GNOME desktop:


2 Server

First become root:

sudo su

Then run

apt-get update

and install the package update-manager-core:

apt-get install update-manager-core

Open the file /etc/update-manager/release-upgrades

vi /etc/update-manager/release-upgrades

… and make sure it has Prompt=normal in it:


Then run


to start the distribution upgrade.

root@server1:~# do-release-upgrade
Checking for a new ubuntu release
Get:1 Upgrade tool signature [198 B]
Get:2 Upgrade tool [1164 kB]
Fetched 1164 kB in 0s (0 B/s)
extracting ‘oneiric.tar.gz’
authenticate ‘oneiric.tar.gz’ against ‘oneiric.tar.gz.gpg’

Reading cache

Checking package manager

Continue running under SSH?

This session appears to be running under ssh. It is not recommended
to perform a upgrade over ssh currently because in case of failure it
is harder to recover.

If you continue, an additional ssh daemon will be started at port
Do you want to continue?

Continue [yN] <– y

Starting additional sshd

To make recovery in case of failure easier, an additional sshd will
be started on port ‘1022’. If anything goes wrong with the running
ssh you can still connect to the additional one.

To continue please press [ENTER] <– ENTER

Confirm that you want to do the upgrade:

Third party sources disabled

Some third party entries in your sources.list were disabled. You can
re-enable them after the upgrade with the ‘software-properties’ tool
or your package manager.

To continue please press [ENTER] <– ENTER


Do you want to start the upgrade?

6 installed packages are no longer supported by Canonical. You can
still get support from the community.

5 packages are going to be removed. 88 new packages are going to be
installed. 611 packages are going to be upgraded.

You have to download a total of 392 M. This download will take about
2 minutes with your connection.

Fetching and installing the upgrade can take several hours. Once the
download has finished, the process cannot be cancelled.

Continue [yN]  Details [d] <– y

During the update, a few services might need a restart. If the update manager asks you which services should be restarted (it shows a list of services), just accept the default services by pressing ENTER.

At the end of the upgrade process, you should remove obsolete packages:

Remove obsolete packages?

45 packages are going to be removed.

Continue [yN]  Details [d] <– y

The server needs to be rebooted to complete the upgrade:

System upgrade is complete.

Restart required

To finish the upgrade, a restart is required.
If you select ‘y’ the system will be restarted.

Continue [yN] <– y

After the reboot, your server is running Ubuntu 11.10. To be sure, take a look at /etc/issue:

cat /etc/issue

root@server1:~# cat /etc/issue
Ubuntu 11.10 \n \l



  • Ubuntu:
  • Unity: