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

On this page

  1. 2 Server
  2. 3 Links

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.

 

Share this page:

1 Comment(s)