Unable to upgrade from Ubuntu 20.04 lts to 22.04 lts
https://askubuntu.com/questions/1559825/unable-to-upgrade-from-ubuntu-20-04-lts-to-22-04-ltsI want to upgrade my already unsupported Ubuntu 20.04 lts release to 22.04 lts but I'm facing a deal with "updating your package information".
When I try to upgrade using the command: sudo do-release-upgrade, here are the complete screen prints:
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [833 B]
Get:2 Upgrade tool [1.267 kB]
Fetched 1.268 kB in 0s (0 B/s)
authenticate 'jammy.tar.gz' against 'jammy.tar.gz.gpg'
extracting 'jammy.tar.gz'
Reading cache
Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Hit http://ubuntu.unc.edu.ar/ubuntu focal-security InRelease
Hit http://ubuntu.unc.edu.ar/ubuntu focal InRelease
Hit http://ubuntu.unc.edu.ar/ubuntu focal-updates InRelease
Hit http://ubuntu.unc.edu.ar/ubuntu focal-backports InRelease
Fetched 0 B in 0s (0 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
nvidia-driver-570
Checking for installed snaps
Calculating snap size requirements
Updating repository information
Third party sources disabled
Some third party entries in your sources.list were disabled. You can
re-enable them after the upgrade with the 'software-properties' tool
or your package manager.
To continue please press [ENTER]
Fetched 0 B in 0s (0 B/s)
Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Invalid package information
After updating your package information, the essential package
'ubuntu-minimal' could not be located. This may be because you have
no official mirrors listed in your software sources, or because of
excessive load on the mirror you are using. See /etc/apt/sources.list
for the current list of configured software sources.
In the case of an overloaded mirror, you may want to try the upgrade
again later.
What I have done so far:
Before upgrading, I ran:
sudo apt-get update,sudo apt-get upgrade,sudo apt-get removeandsudo reboot.Also, I disable the third-party repositories unchecking the boxes in Other Software's tap in "Software & Updates".
Following this post "Invalid package information" error when upgrading to Ubuntu 20.04 I ran
sudo RELEASE_UPGRADER_ALLOW_THIRD_PARTY=1 do-release-upgradewith same result.I also deleted all files at /var/lib/apt/lists, and updated all packages again by running
sudo apt-get update. Same result.
Any ideas to help me?
Thank you!





