I am trying to upgrade from Ubuntu 18.04.5 to 20.04.1 via:
$ sudo do-release-upgrade
This fails as follows:
Could not calculate the upgrade
An unresolvable problem occurred while calculating the upgrade.
This was likely caused by:
Unofficial software packages not provided by Ubuntu Please use the tool 'ppa-purge' from the ppa-purge package to remove software from a
Launchpad PPA and try the upgrade again.
If none of this applies, then please report this bug using the
command 'ubuntu-bug ubuntu-release-upgrader-core' in a terminal. If
you want to investigate this yourself the log files in
'/var/log/dist-upgrade' will contain details about the upgrade.
Specifically, look at 'main.log' and 'apt.log'.
The tail of
/var/log/dist-upgrade/main.log contains the following error:
... 2020-10-11 18:36:30,320 WARNING Can't mark 'ubuntu-desktop' for upgrade (E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.) 2020-10-11 18:36:31,747 ERROR Dist-upgrade failed: 'Broken packages after upgrade: colord' 2020-10-11 18:36:31,747 DEBUG abort called 2020-10-11 18:36:31,755 DEBUG openCache() 2020-10-11 18:36:37,070 DEBUG Comparing 4.15.0-117 with 2020-10-11 18:36:37,071 DEBUG Comparing 4.15.0-118 with 4.15.0-117 2020-10-11 18:36:37,824 DEBUG /openCache(), new cache size 99980
Here are the reverse package dependencies of
$ apt-cache rdepends colord colord Reverse Depends: colord-sensor-argyll gnome-control-center colord:i386 cups-filters colord:i386 cups-daemon colord:i386 cups colord:i386 xiccd colord:i386 krita colord:i386 gnome-color-manager colord:i386 foomatic-filters colord:i386 dispcalgui colord:i386 diffoscope colord:i386 colord-sensor-argyll colord:i386 colord-sensor-argyll colord-data colord-sensor-argyll colord:i386 argyll colord:i386 libcolord2 colord:i386 libcolord-gtk1 colord:i386 gnome-control-center colord:i386 cups-filters colord:i386 cups-daemon colord:i386 cups colord:i386 colord-data
I recently had a segmentation fault issue with
mesa and installed a version from
ppa:kisak/kisak-mesa. This might cause the upgrade problem now.
The following would happen if I remove the
$ sudo apt-get remove colord Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: apg colord-data gnome-control-center-faces gnome-online-accounts libcolorhug2 libnss-myhostname linux-headers-4.15.0-117 linux-headers-4.15.0-117-generic linux-image-4.15.0-117-generic linux-modules-4.15.0-117-generic linux-modules-extra-4.15.0-117-generic python3-macaroonbakery python3-nacl python3-protobuf python3-pymacaroons python3-rfc3339 ubuntu-system-service Use 'sudo apt autoremove' to remove them. The following packages will be REMOVED: colord gnome-control-center ubuntu-desktop 0 upgraded, 0 newly installed, 3 to remove and 8 not upgraded. After this operation, 5,782 kB disk space will be freed. Do you want to continue? [Y/n]
This does not sound like a good idea because last time I removed
ubuntu-desktop the UI did no longer start-up. See linked post.
How can I resolve the upgrade problem without risking the segmentation fault to reincarnate?