I found instructions for the upgrade on Focal Release Notes, but when I follow them, they don't work. The steps I followed along with their outputs:
- You can upgrade to Ubuntu 20.04 LTS from either Ubuntu 18.04 LTS or Ubuntu 19.10.
- Ensure that you have all updates installed for your current version
of Ubuntu before you upgrade.
Output of sudo apt update
:
$ sudo apt update
Get:2 https //download.docker.com/linux/ubuntu eoan InRelease [43.0 kB]
Hit:1 https //packages.cloud.google.com/apt kubernetes-xenial InRelease
Hit:3 http //old-releases.ubuntu.com/ubuntu eoan InRelease
Hit:4 http //old-releases.ubuntu.com/ubuntu eoan-updates InRelease
Hit:5 http //old-releases.ubuntu.com/ubuntu eoan-backports InRelease
Hit:6 http //old-releases.ubuntu.com/ubuntu eoan-security InRelease
Fetched 43.0 kB in 3s (15.9 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
42 packages can be upgraded. Run 'apt list --upgradable' to see them.
- Confirm that you also have a network connectivity to one of the official mirrors or to a locally accessible mirror as there are no offline upgrade options.
$ wget mirror.enzu.com.ubuntu
--2021-02-15 22:33:09-- http://mirror.enzu.com.ubuntu/
Resolving <MIRROR NAME> (<MIRROR NAME>)... 92.242.140.21
Connecting to <MIRROR NAME> (<MIRROR NAME>)|92.242.140.21|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘index.html’
index.html [ <=> ] 894 --.-KB/s in 0s
2021-02-15 22:33:09 (9.06 MB/s) - ‘index.html’ saved [894]
- Install
update-manager-core
if it is not already installed.
$ sudo apt install update-manager-core
Reading package lists... Done
Building dependency tree
Reading state information... Done
update-manager-core is already the newest version (1:19.04.8).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
- Make sure the Prompt line in
/etc/update-manager/release-upgrades
is set to 'normal' if you are using 19.10, or 'lts' if you are using 18.04 LTS.
$ grep Prompt /etc/update-manager/release-upgrades
Prompt=normal
- Launch the upgrade tool with the command
sudo do-release-upgrade
$ sudo do-release-upgrade
Checking for a new Ubuntu release
Your Ubuntu release is not supported anymore.
For upgrade information, please visit:
http://www.ubuntu.com/releaseendoflife
Please install all available updates for your release before upgrading.
What have I done wrong? I edited the /etc/apt/sources.list
to point it to the old-releases.ubuntu.com
URLs and it appears that the apt update
was successful. Why would the instructions say that I can do it from a particular version only to tell me that I can't do it because I am coming from that version?
Any help in explaining this to me would be most appreciated.
$ sudo apt full-upgrade
[sudo] password for dalex:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
kubeadm kubectl kubelet
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.