How To Upgrade Ubuntu 10.10 (Maverick Meerkat) To 11.04 (Natty Narwhal) (Desktop & Server) - Page 2

Want to support HowtoForge? Become a subscriber!
 
Submitted by falko (Contact Author) (Forums) on Thu, 2011-04-28 14:38. ::

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:

[...]
Prompt=normal

Then run

do-release-upgrade

to start the distribution upgrade.

root@server1:~# do-release-upgrade
Checking for a new ubuntu release
Get:1 Upgrade tool signature [198B]
Get:2 Upgrade tool [1307kB]
Fetched 1307kB in 0s (0B/s)
extracting 'natty.tar.gz'
authenticate 'natty.tar.gz' against 'natty.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
'1022'.
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:

Do you want to start the upgrade?


3 packages are going to be removed. 34 new packages are going to be
installed. 291 packages are going to be upgraded.

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

If you see the following message about grub (What do you want to do about modified configuration file grub?), install the package maintainer's version:

What do you want to do about modified configuration file grub? <-- install the package maintainer's version

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

Remove obsolete packages?


6 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 11.04.

 

3 Links


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.