Saturday, May 17, 2014

Ubuntu 13.10 upgrade to 14.04 failure

I was running Xubuntu 13.10 for a couple months, it was a new installation (not an upgrade from a previous version) when I had built my current Haswell all purpose rig. I had just upgraded my server from 12.04.4 to 14.04 so I figured it was finally time to upgrade my workstation to 14.04. Normally going from 1 release to the next is as simple as clicking the Update Manager located within System but I was receiving an error. It was
ERROR:root:Could not find any typelib for Dbusmenu 
ERROR:root:Could not find any typelib for Unity
WARNING:root:can not import unity GI cannot import name Dbusmenu

(update-manager:2799): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:3274:48: Expected ',' in color definition
Checking for a new Ubuntu release
(do-release-upgrade:2872): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:3274:48: Expected ',' in color definition
** (do-release-upgrade:2872): WARNING **: Failed to load shared library '' referenced by the typelib: cannot open shared object file: No such file or directory
/usr/lib/python3/dist-packages/gi/_gobject/ Warning: cannot derive 'DistUpgrade+ReleaseNotesViewerWebkit+ReleaseNotesViewerWebkit' from non-derivable parent type 'void'
  _gobject.type_register(cls, namespace.get('__gtype_name__'))
Traceback (most recent call last):
  File "/usr/bin/do-release-upgrade", line 152, in <module>
  File "/usr/lib/python3/dist-packages/DistUpgrade/", line 274, in run
    if not self.showReleaseNotes():
  File "/usr/lib/python3/dist-packages/DistUpgrade/", line 71, in showReleaseNotes
    res = self._try_show_release_notes_webkit()
  File "/usr/lib/python3/dist-packages/DistUpgrade/", line 81, in _try_show_release_notes_webkit
    from .ReleaseNotesViewerWebkit import ReleaseNotesViewerWebkit
  File "/usr/lib/python3/dist-packages/DistUpgrade/", line 35, in <module>
    class ReleaseNotesViewerWebkit(WebKit.WebView):
  File "/usr/lib/python3/dist-packages/gi/", line 175, in __init__
    super(GObjectMeta, cls).__init__(name, bases, dict_)
  File "/usr/lib/python3/dist-packages/gi/_gobject/", line 46, in __init__
  File "/usr/lib/python3/dist-packages/gi/_gobject/", line 58, in _type_register
    _gobject.type_register(cls, namespace.get('__gtype_name__'))
RuntimeError: could not create new GType: DistUpgrade+ReleaseNotesViewerWebkit+ReleaseNotesViewerWebkit (subclass of void) 
I went to System Settings and then Menu Editor to find out what command "Software Updater" was running and it turned out it was only running
which I thought was weird as normally if you're updating your system files you'll need root access so I decided to run the command with gksudo. The command that worked is the following;
gksudo update-manager
NOTE: You don't need to use /usr/bin/ due to that directory being in your environment path anyway. After running that command I was presented with the possible upgrade to 14.04. I am now running Xubuntu 14.04 and everything is working great.

-Ubu out
Post a Comment