4

I have to upgrade Ubuntu server 10.04 to 12.04.

10.04 is not supported any more. So what step I have to do, for a clean upgrade?

I did the following steps:

sudo sed -i -re 's/([a-z]{2}\.)?archive.ubuntu.com|security.ubuntu.com/old-r‌​eleases.ubuntu.com/g‌​' /etc/apt/sources.list 
sudo apt-get update && sudo apt-get dist-upgrade 
sudo apt-get update 
sudo do-release-upgrade

After some time, the upgrade is aborting: ...Restoring original system state

root@vupapzimbra01:~# sudo apt-get install update-manager-core
Reading package lists... Done
Building dependency tree
Reading state information... Done
update-manager-core is already the newest version.
The following packages were automatically installed and are no longer required:
  linux-headers-2.6.32-41-server linux-headers-2.6.32-41
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@vupapzimbra01:~#


root@vupapzimbra01:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 10.04.4 LTS
Release:        10.04
Codename:       lucid

Get:51 http://us.archive.ubuntu.com precise/restricted Translation-en [2395 B]
Get:52 http://us.archive.ubuntu.com precise/universe Translation-en [3341 kB]
Fetched 19.9 MB in 6s (1873 kB/s)

Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done

Calculating the changes

Calculating the changes

Error authenticating some packages

It was not possible to authenticate some packages. This may be a
transient network problem. You may want to try again later. See below
for a list of unauthenticated packages.

accountsservice
apparmor
.
.
wpasupplicant
xkb-data


Restoring original system state

Aborting
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done

=== Command detached from window (Thu May  4 09:20:53 2017) ===
=== Command terminated with exit status 1 (Thu May  4 09:20:53 2017) ===
Melebius
  • 11,750

1 Answers1

0

its better to download iso and re install you could install 12.04 Ubuntu server Click link 32 bit or 64 bit you could select the upgrade is not possible for old versions or try 17.04 Click torrent link