[Bug 1794273] Re: Could not calculate the upgrade

Kolargol00 kolargol00 at hotmail.com
Tue Sep 25 13:51:01 UTC 2018


I have removed all packages cited as foreign or obsolete in /var/log
/dist-upgrade/main.log below:

2018-09-25 12:12:19,624 DEBUG Foreign: ansible
2018-09-25 12:12:19,624 DEBUG Obsolete: ansible-doc fonts-droid gir1.2-vte-2.90 landscape-client-ui-install latex-beamer latex-xcolor libmaven-hpi-plugin-java libminiupnpc8 libpocketsphinx1 libruby1.9.1 libsphinxbase1 libthumbnailer0 libufe-xidgetter0 libvte-2.90-9 libvte-2.90-common libxtables10 pgf postgresql-9.3 postgresql-client-9.3 python-ibus qtdeclarative5-ubuntu-ui-extras-browser-plugin-assets ruby1.9.1 ruby1.9.1-dev ttf-indic-fonts-core unity-voice-service xfonts-mathml xul-ext-unity xul-ext-websites-integration zoom

but the upgrade still fails with the same error. New log attached.

** Attachment added: "main.log"
   https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1794273/+attachment/5192807/+files/main.log

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1794273

Title:
  Could not calculate the upgrade

Status in ubuntu-release-upgrader package in Ubuntu:
  New

Bug description:
  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:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1794273/+subscriptions



More information about the foundations-bugs mailing list