It's high time I upgrade Ubuntu from 18.04 to 20.04! But I don't get very far before the process aborts without an error message. Is there a log file I can check for further information?
$ uname -a
Linux tribble 5.4.72-microsoft-standard-WSL2 #1 SMP Wed Oct 28 23:40:43 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.5 LTS
Release: 18.04
Codename: bionic
$ sudo do-release-upgrade
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [1554 B]
Get:2 Upgrade tool [1340 kB]
Fetched 1342 kB in 0s (0 B/s)
authenticate 'focal.tar.gz' against 'focal.tar.gz.gpg'
extracting 'focal.tar.gz'
In the created screen:
Reading cache
Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Hit http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit http://archive.ubuntu.com/ubuntu bionic InRelease
Hit http://ppa.launchpad.net/maxmind/ppa/ubuntu bionic InRelease
Hit http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit https://packagecloud.io/cs50/repo/ubuntu bionic InRelease
Fetched 0 B in 0s (0 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
[LONG PAUSE]
Restoring original system state
Aborting
Reading package lists... Done
Building dependency tree
Reading state information... Done
=== Command terminated with exit status 1 (Thu Aug 5 02:10:50 2021) ===
Apparently, there's /var/log/dist-upgrade/main.log
. All it shows is that Quirks.focalPostInitialUpdate
"called abort".
2021-08-05 02:08:40,403 INFO Using config files '['./DistUpgrade.cfg.bionic', '/etc/update-manager/release-upgrades.d/ubuntu-advantage-upgrades.cfg']'
2021-08-05 02:08:40,403 INFO uname information: 'Linux tribble 5.4.72-microsoft-standard-WSL2 #1 SMP Wed Oct 28 23:40:43 UTC 2020 x86_64'
2021-08-05 02:08:40,852 INFO apt version: '1.6.14'
2021-08-05 02:08:40,853 INFO python version: '3.6.9 (default, Jan 26 2021, 15:33:00)
[GCC 8.4.0]'
2021-08-05 02:08:40,859 INFO release-upgrader version '20.04.34' started
2021-08-05 02:08:40,866 INFO locale: 'en_US' 'UTF-8'
2021-08-05 02:08:40,948 WARNING estimate_kernel_initrd_size_in_boot() returned '0' for kernel?
2021-08-05 02:08:40,948 WARNING estimate_kernel_initrd_size_in_boot() returned '0' for initrd?
2021-08-05 02:08:40,968 DEBUG Using 'DistUpgradeViewText' view
2021-08-05 02:08:41,024 DEBUG enable dpkg --force-overwrite
2021-08-05 02:08:41,055 DEBUG creating statefile: '/var/log/dist-upgrade/apt-clone_system_state.tar.gz'
2021-08-05 02:08:43,346 DEBUG lsb-release: 'bionic'
2021-08-05 02:08:43,346 DEBUG _pythonSymlinkCheck run
2021-08-05 02:08:43,347 DEBUG openCache()
2021-08-05 02:08:43,347 DEBUG quirks: running PreCacheOpen
2021-08-05 02:08:43,347 DEBUG running Quirks.PreCacheOpen
2021-08-05 02:08:44,659 DEBUG /openCache(), new cache size 72360
2021-08-05 02:08:44,660 DEBUG need_server_mode(): can not find a desktop meta package or key deps, running in server mode
2021-08-05 02:08:44,660 DEBUG checkViewDepends()
2021-08-05 02:08:44,662 DEBUG running doUpdate() (showErrors=False)
2021-08-05 02:08:46,643 DEBUG openCache()
2021-08-05 02:08:48,077 DEBUG /openCache(), new cache size 72360
2021-08-05 02:08:48,077 DEBUG doPostInitialUpdate
2021-08-05 02:08:48,077 DEBUG quirks: running focalPostInitialUpdate
2021-08-05 02:08:48,077 DEBUG running Quirks.focalPostInitialUpdate
2021-08-05 02:10:48,996 DEBUG abort called
2021-08-05 02:10:48,998 DEBUG openCache()
2021-08-05 02:10:50,287 DEBUG /openCache(), new cache size 72360
Other files in /var/log/dist-upgrade
reveal nothing either.
Additional info:
- Windows was brought up to date beforehand (in case it was some WSL issue).
sudo apt update && sudo apt upgrade
did not help.