Today I tried to upgrade to Focal Fossa from Bionic Beaver, and I must have made a mistake.
First I switched to "For any new version" in the Software & Updates UI.
After that things get messy. My terminal history tells me that I entered successively
RELEASE_UPGRADER_ALLOW_THIRD_PARTY=1 update-manager
RELEASE_UPGRADER_ALLOW_THIRD_PARTY=1 update-manager -d
RELEASE_UPGRADER_ALLOW_THIRD_PARTY=1 do-release-upgrade
sudo do-release-upgrade -d
I can't recall precisely, but I must have realized after the first attempt that the system was about to upgrade to 19.10 instead of 20.04, which is why I aborted. And at some point - maybe already the first attempt -, a "partial upgrade" was suggested, which I declined.
Now I'm still on 18.04 LTS, but my sources.list
contains entries such as
deb http://ftp.hosteurope.de/mirror/archive.ubuntu.com/ eoan main restricted
And, not surprisingly, when I run sudo apt update
, the output tells me that
...
Hit:4 http://ftp.hosteurope.de/mirror/archive.ubuntu.com eoan-updates InRelease
...
2551 packages can be upgraded. Run 'apt list --upgradable' to see them.
Can anyone help me fix the wrong sources list and cleanly upgrade from 18.04 to 20.04? It would be much appreciated!
RELEASE_UPGRADER_ALLOW_THIRD_PARTY=1
flag? And: It would not suffice to "repair" my sources.list, disable all third-party PPAs and try again?