How To Upgrade Ubuntu 12.04 LTS (Precise Pangolin) To 12.10 (Quantal Quetzal) (Desktop & Server) - Page 2

2 Server

First become root:

sudo su

Then run

apt-get update

and install the latest updates:

apt-get upgrade

Then 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 [1,200 kB]
Fetched 1,200 kB in 0s (0 B/s)
authenticate 'quantal.tar.gz' against 'quantal.tar.gz.gpg'
extracting 'quantal.tar.gz'

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.
If you run a firewall, you may need to temporarily open this port. As
this is potentially dangerous it's not done automatically. You can
open the port with e.g.:
'iptables -I INPUT -p tcp --dport 1022 -j ACCEPT'

To continue please press [ENTER]
 <-- ENTER


Do you want to start the upgrade?

1 package is going to be removed. 58 new packages are going to be
installed. 587 packages are going to be upgraded.

You have to download a total of 353 M. This download will take about
1 minute with your connection.

Installing the upgrade can take several hours. Once the download has
finished, the process cannot be canceled.

 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?

18 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 12.10. To be sure, take a look at /etc/issue:

cat /etc/issue

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



3 Links

Share this page:

6 Comment(s)

Add comment


From: SriLanka at: 2012-10-20 13:32:02

Amazing! thanks for the update...

From: Daniel Benny Simanjuntak at: 2013-03-05 22:34:30

I'm running 11.04 Natty Narwal and every time I do the above instructions without fail it still says 11.10 available. I don't want 11.10 I want 12.04 LTS and it's 4/28 it should be ready to say 12.04 is available. Anyone have any idea as to why that is?

From: Anonymous at: 2013-03-22 15:36:55

You have to update to 11.10 before you can upgrade to 12.04. Only LTS can jump from LTS to LTS. Every other version is incremental

From: Anonymous at: 2013-10-21 19:56:46

Falko, you are the man! Thanks for the help.

From: Anonymous at: 2013-05-02 14:07:10

=== INFO ===

It's Works with the Desktop Version too!

From: Anonymous at: 2014-08-28 09:25:27

Checking for a new Ubuntu release
Err Upgrade tool signature                                                     
  404  Not Found [IP: 80]                                        
Err Upgrade tool                                                               
  404  Not Found [IP: 80]                                        
Fetched 0 B in 0s (0 B/s)                                                      
WARNING:root:file 'quantal.tar.gz.gpg' missing
Failed to fetch
Fetching the upgrade failed. There may be a network problem.