0

I'm trying to upgrade from Ubuntu 10.04 to 18.04 LTS. How?

update-manager -d --dist-upgrade reports:

| Your system is up-to-date
|
| There are no upgrades available for your system. The upgrade will
| now be canceled.

Here's what I tried:

Follow How to install software or upgrade from an old unsupported release? In /etc/apt/sources.list, replace all occurrences of ubuntu.media.mit.edu with old-releases.ubuntu.com.

In /var/lib/apt, mv lists lists.old; mkdir -p lists/partial

Apt update error - "An error occurred during the signature verification" (Chrome)

wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

Even though dl.google.com and canonical don't occur in /etc/apt/sources.list, they are in some hidden configuration and cause trouble. Get info on finding them from How to install software or upgrade from an old unsupported release?; uncheck those two boxes.

apt-get update
apt-get upgrade
sudo update-manager -cd
sudo update-manager -d --dist-upgrade
Quigi
  • 95

1 Answers1

1

I believe the command is

sudo do-release-upgrade

However, since the last upgradable version seems to be 14.04, you will have to use a DVD. 10.04 is not supported anymore, and therefore not upgradable. Only 14.04 on are supported; you will need a clean install

  • Yes, do-release-upgrade is the command. I had tried it earlier, when my sources were more messed up. By substituting old-releases.ubuntu.com I was able to connect to repositories in most cases, but there are a few not in /etc/apt/sources.list like archive.ubuntu.com which still raise 404 Not Found. – Quigi Feb 15 '19 at 21:33
  • I expected I'd need to hop through 12.04, 14.04, 16.04 to reach 18.04. But I take everyone's word that it would be full of hassles, or never work. – Quigi Feb 15 '19 at 21:36