Cheap VPS & Xen Server

Residential Proxy Network - Hourly & Monthly Packages

How To Upgrade Ubuntu 10.04 (Lucid Lynx) To 10.10 (Maverick Meerkat) (Desktop & Server)


Yesterday the new Ubuntu 10.10 (Maverick Meerkat) was released. This guide shows how you can upgrade your Ubuntu 10.04 desktop and server installations to Ubuntu 10.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):

1

In the Update Manager, click on the Settings… button (in the lower left corner):

2

The Updates tab in the Software Sources window should open. Select Normal releases in the Show new distribution releases: drop-down menu and click on Close:

3

Back in the Update Manager, click on the Check button to check for new updates and distribution releases:

4

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

5

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

6

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

The upgrade is being prepared:

7

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

8

The upgrade packages are now being downloaded…

9

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

10

You might see the following message (Continue without installing GRUB?). I recommend to check the checkbox and click on Forward so that the system will continue to use the old, working GRUB. If you don’t check the checkbox , the update manager will install a new GRUB and ask you on which device/partition it should be installed which can make the system unbootable if you select the wrong device/partition.

11

Because we had to change the Release upgrade settings in the Software Sources window, you will see the following message. It is ok to select Keep:

12

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

13

14

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

15

After the reboot, you can use your new Ubuntu 10.10 desktop:

16

2 Server

First become root:

sudo su

Then run

aptitude update

and install the package update-manager-core:

aptitude 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:

[...]
Prompt=normal

Then run

do-release-upgrade

to start the distribution upgrade.

root@server1:~# do-release-upgrade
Checking for a new ubuntu release
Done Upgrade tool signature
Done Upgrade tool
Done downloading
extracting ‘maverick.tar.gz’
authenticate ‘maverick.tar.gz’ against ‘maverick.tar.gz.gpg’
tar: Removing leading `/’ from member names

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
‘1022’.
Do you want to continue?

Continue [yN] <– y

Confirm that you want to do the upgrade:

Do you want to start the upgrade?

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

1 package is going to be removed. 30 new packages are going to be
installed. 332 packages are going to be upgraded.

You have to download a total of 221M. This download will take about 3
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.

You might see the following message (Continue without installing GRUB?). I recommend to answer Yes so that the system will continue to use the old, working GRUB. If you answer No, the update manager will install a new GRUB and ask you on which device/partition it should be installed which can make the system unbootable if you select the wrong device/partition.

Continue without installing GRUB? <– Yes

If you had to modify /etc/update-manager/release-upgrades, you will see the following message. Just press ENTER to continue:

Configuration file `/etc/update-manager/release-upgrades’
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ?  Your options are:
Y or I  : install the package maintainer’s version
N or O  : keep your currently-installed version
D     : show the differences between the versions
Z     : start a shell to examine the situation
The default action is to keep your current version.
*** release-upgrades (Y/I/N/O/D/Z) [default=N] ?
 <– ENTER

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

Remove obsolete packages?

10 packages are going to be removed.

Continue [yN]  Details [d] <– y

The server needs to be rebooted to complete the upgrade:

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 10.10.

 

  • Ubuntu: http://www.ubuntu.com/

 

Comments

comments