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
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
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