Ubuntu dist-upgrade 18.04 -> 20.04 fails

Bug #1998699 reported by Matthias Schneider
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
New
Undecided
Unassigned

Bug Description

$ grep failed /var/log/dist-upgrade/20221204-1538/main.log
2022-12-04 15:36:09,282 INFO failed to remove python-minimal
2022-12-04 15:36:09,326 INFO failed to remove libpython-stdlib
2022-12-04 15:36:09,371 INFO failed to remove python-minimal
2022-12-04 15:36:09,371 INFO failed to remove libpython-stdlib
2022-12-04 15:36:11,357 ERROR Dist-upgrade failed: 'E:Unable to correct problems, you have held broken packages.'

I read something about a patched release-upgrader, but it did not work for me.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: ubuntu-release-upgrader-core 1:18.04.45
ProcVersionSignature: Ubuntu 5.4.0-135.152~18.04.2-generic 5.4.212
Uname: Linux 5.4.0-135-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.28
Architecture: amd64
CrashDB: ubuntu
Date: Sun Dec 4 15:52:56 2022
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to bionic on 2022-12-04 (0 days ago)

Revision history for this message
Matthias Schneider (hiashead) wrote :
Revision history for this message
Matthias Schneider (hiashead) wrote :
Download full text (15.7 KiB)

$ do-release-upgrade -V
do-release-upgrade: version 18.04.45

$ cat /var/log/dist-upgrade/20221204-1605/main.log
2022-12-04 15:58:56,372 INFO Using config files '['./DistUpgrade.cfg.bionic', '/etc/update-manager/release-upgrades.d/ubuntu-advantage-upgrades.cfg']'
2022-12-04 15:58:56,372 INFO uname information: 'Linux matze 5.4.0-135-generic #152~18.04.2-Ubuntu SMP Tue Nov 29 08:23:49 UTC 2022 x86_64'
2022-12-04 15:58:56,879 INFO apt version: '1.6.14'
2022-12-04 15:58:56,880 INFO python version: '3.6.9 (default, Jun 29 2022, 11:45:57)
[GCC 8.4.0]'
2022-12-04 15:58:56,884 INFO release-upgrader version '20.04.38' started
2022-12-04 15:58:56,896 INFO locale: 'en_US' 'UTF-8'
2022-12-04 15:58:56,937 INFO screen could not be run
2022-12-04 15:58:56,970 DEBUG Using 'DistUpgradeViewText' view
2022-12-04 15:58:57,014 DEBUG enable dpkg --force-overwrite
2022-12-04 15:58:57,038 DEBUG creating statefile: '/var/log/dist-upgrade/apt-clone_system_state.tar.gz'
2022-12-04 15:59:01,439 DEBUG lsb-release: 'bionic'
2022-12-04 15:59:01,439 DEBUG _pythonSymlinkCheck run
2022-12-04 15:59:01,439 DEBUG openCache()
2022-12-04 15:59:01,440 DEBUG quirks: running PreCacheOpen
2022-12-04 15:59:01,440 DEBUG running Quirks.PreCacheOpen
2022-12-04 15:59:02,682 DEBUG Comparing 4.15.0-200 with
2022-12-04 15:59:02,686 DEBUG Comparing 5.3.0-62 with 4.15.0-200
2022-12-04 15:59:02,688 DEBUG Comparing 5.4.0-131 with 5.3.0-62
2022-12-04 15:59:02,688 DEBUG Comparing 5.4.0-135 with 5.4.0-131
2022-12-04 15:59:02,950 DEBUG /openCache(), new cache size 114249
2022-12-04 15:59:02,950 DEBUG need_server_mode(): can not find a desktop meta package or key deps, running in server mode
2022-12-04 15:59:02,950 DEBUG checkViewDepends()
2022-12-04 15:59:02,952 DEBUG running doUpdate() (showErrors=False)
2022-12-04 15:59:04,920 DEBUG openCache()
2022-12-04 15:59:06,069 DEBUG Comparing 4.15.0-200 with
2022-12-04 15:59:06,074 DEBUG Comparing 5.3.0-62 with 4.15.0-200
2022-12-04 15:59:06,077 DEBUG Comparing 5.4.0-131 with 5.3.0-62
2022-12-04 15:59:06,077 DEBUG Comparing 5.4.0-135 with 5.4.0-131
2022-12-04 15:59:06,335 DEBUG /openCache(), new cache size 114249
2022-12-04 15:59:06,335 DEBUG doPostInitialUpdate
2022-12-04 15:59:06,335 DEBUG quirks: running focalPostInitialUpdate
2022-12-04 15:59:06,335 DEBUG running Quirks.focalPostInitialUpdate
2022-12-04 15:59:07,817 WARNING error reading deb2snap.json file (Expected a string or a pair of strings)
2022-12-04 15:59:07,948 DEBUG Snap bare is installed
2022-12-04 15:59:07,948 DEBUG Snap bare is not tracking the release channel
2022-12-04 15:59:08,078 DEBUG Snap core is installed
2022-12-04 15:59:08,078 DEBUG Snap core is not tracking the release channel
2022-12-04 15:59:08,200 DEBUG Snap core18 is installed
2022-12-04 15:59:08,201 DEBUG Snap core18 is not tracking the release channel
2022-12-04 15:59:08,309 DEBUG Snap gnome-3-28-1804 is installed
2022-12-04 15:59:08,310 DEBUG Snap gnome-3-28-1804 is not tracking the release channel
2022-12-04 15:59:08,418 DEBUG Snap gtk-common-themes is installed
2022-12-04 15:59:08,418 DEBUG Snap gtk-common-themes is not tracking the release channel
2022-12-04 15:59:08,549 DEBUG Snap shotcut is installed
2022-12-04 15...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.