I'm trying to upgrade from Bionic 18.04.6 LTS, but I am running into problems. I've looked at
EOL Upgrade Ubuntu 18.04.6 LTS (Bionic Beaver)
https://help.ubuntu.com/community/FocalUpgrades
Uprading Ubuntu 18.04.6 LTS to 20.04
Here's what I get.
$ sudo do-release-upgrade -c
Checking for a new Ubuntu release
New release '20.04.6 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
$ sudo do-release-upgrade
Checking for a new Ubuntu release
Please install all available updates for your release before upgrading.
This is interesting because the Kubuntu Software Center (Discover) says my system is up to date.
$ sudo apt update
Hit:2 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Hit:3 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:4 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:5 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:1 https://packages.microsoft.com/repos/code stable InRelease
Get:6 https://download.docker.com/linux/ubuntu bionic InRelease [64.4 kB]
Hit:7 https://esm.ubuntu.com/apps/ubuntu bionic-apps-security InRelease
Hit:8 https://esm.ubuntu.com/apps/ubuntu bionic-apps-updates InRelease
Hit:9 https://esm.ubuntu.com/infra/ubuntu bionic-infra-security InRelease
Hit:10 https://esm.ubuntu.com/infra/ubuntu bionic-infra-updates InRelease
Fetched 64.4 kB in 2s (42.4 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
No updates are reported. Next I try the full upgrade.
$ sudo apt full-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Next I try update-manager. A window says
The software on this computer is up to date.
However, Kubuntu 20.04.6 LTS is now available (you have 18.04).
I click to upgrade, and it says
Checking for a new Ubuntu release
Please install all available updates for your release before upgrading.
apt-mark showhold shows no held packages.
At this point, I'm stumped, and it seems like I'm going in circles. Can anyone help?
UPDATE
Thank you, @guiverc. I didn't look at the upgradable package because I thought I should only consider updates, not upgrades. Here's the output:
$ apt list --upgradable
Listing... Done
code/stable 1.96.2-1734607745 amd64 [upgradable from: 1.83.1-1696982868]
N: There are 129 additional versions. Please use the '-a' switch to see them.
I tried to upgrade the package identified, but I got an error that I don't really understand.
$ sudo apt upgrade code/stable
Reading package lists... Done
Building dependency tree
Reading state information... Done
Selected version '1.96.2-1734607745' (code stable:stable [amd64]) for 'code'
Calculating upgrade... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
code : Depends: libc6 (>= 2.28) but 2.27-3ubuntu1.6+esm3 is to be installed
Depends: libxkbfile1 (>= 1:1.1.0) but 1:1.0.9-2 is to be installed
E: Broken packages
@karel - I'm sorry, I don't see how the page you suggested applies. I'm drawing from the ESM sources, so I don't see how changing to old-releases would help. Please clarify if I'm missing something.
@guiverc - I checked the sources in update-manager and both Canonical-supported (main) and Community-maintained (universe) boxes are checked.
SUCCESS!
@guiverc - Thank you so much! That is indeed the problem. I did
$ sudo apt remove code/stable
Then the upgrade worked!