Public bug reported: Upgrading from 16.04.5 to 18.04.1 using `update-manager -c` fails with the message:
""" Could not calculate the upgrade An unresolvable problem occurred while calculating the upgrade. This can be caused by: * Upgrading to a pre-release version of Ubuntu * Running the current pre-release version of Ubuntu * Unofficial software packages not provided by Ubuntu If none of this applies, then please report this bug using the command 'ubuntu-bug ubuntu-release-upgrader-core' in a terminal. """ I'm neither in the first nor in the second case. I can't tell whether I'm in the third case because no list of offending packages is displayed. Neither does update-manager's stdout contain further hints: $ update-manager -c --debug /usr/bin/update-manager:28: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded. from gi.repository import Gtk /usr/lib/python3/dist-packages/UpdateManager/UnitySupport.py:29: PyGIWarning: Dbusmenu was imported without specifying a version first. Use gi.require_version('Dbusmenu', '0.4') before import to ensure that the right version gets loaded. from gi.repository import Dbusmenu, Unity /usr/lib/python3/dist-packages/UpdateManager/UnitySupport.py:29: PyGIWarning: Unity was imported without specifying a version first. Use gi.require_version('Unity', '7.0') before import to ensure that the right version gets loaded. from gi.repository import Dbusmenu, Unity DEBUG:AptClient.DebconfProxy:debconf socket: /tmp/aptdaemon-_wdtxlvw/debconf.socket DEBUG:root:debconf.start() DEBUG:root:debconf.stop() Checking for a new Ubuntu release /usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeFetcher.py:23: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded. from gi.repository import Gtk, Gdk /usr/lib/python3/dist-packages/DistUpgrade/ReleaseNotesViewerWebkit.py:33: PyGIWarning: WebKit2 was imported without specifying a version first. Use gi.require_version('WebKit2', '4.0') before import to ensure that the right version gets loaded. from gi.repository import WebKit2 as WebKit Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged. authenticate 'bionic.tar.gz' against 'bionic.tar.gz.gpg' extracting 'bionic.tar.gz' (appstreamcli:31911): GLib-CRITICAL **: g_strchug: assertion 'string != NULL' failed (appstreamcli:31911): GLib-CRITICAL **: g_strchomp: assertion 'string != NULL' failed (appstreamcli:31911): GLib-CRITICAL **: g_strchug: assertion 'string != NULL' failed (appstreamcli:31911): GLib-CRITICAL **: g_strchomp: assertion 'string != NULL' failed (appstreamcli:31911): GLib-CRITICAL **: g_strchug: assertion 'string != NULL' failed (appstreamcli:31911): GLib-CRITICAL **: g_strchomp: assertion 'string != NULL' failed AppStream cache update completed, but some metadata was ignored due to errors. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: ubuntu-release-upgrader-core 1:16.04.25 ProcVersionSignature: Ubuntu 4.4.0-135.161-generic 4.4.140 Uname: Linux 4.4.0-135-generic x86_64 ApportVersion: 2.20.1-0ubuntu2.18 Architecture: amd64 CrashDB: ubuntu CurrentDesktop: MATE Date: Tue Sep 25 12:15:43 2018 InstallationDate: Installed on 2015-02-04 (1329 days ago) InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2) PackageArchitecture: all SourcePackage: ubuntu-release-upgrader UpgradeStatus: Upgraded to xenial on 2018-09-25 (0 days ago) VarLogDistupgradeTermlog: ** Affects: ubuntu-release-upgrader (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug dist-upgrade third-party-packages xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1794273 Title: Could not calculate the upgrade To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1794273/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs