[Bug 823935] Re: update-manager needs gir1.2-unity-3.0 to run

Launchpad Bug Tracker 823935 at bugs.launchpad.net
Thu Aug 11 11:48:35 UTC 2011


** Branch linked: lp:~evfool/update-manager/fixlp823935

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

Title:
  update-manager needs gir1.2-unity-3.0 to run

Status in “update-manager” package in Ubuntu:
  In Progress

Bug description:
  I didn't have unity installed thus no gir1.2-unity-3.0 and update-
  manager crashed.

  
  update-manager 
  ERROR:root:Could not find any typelib for Unity
  WARNING:root:can not import unity GI cannot import name Unity
  Traceback (most recent call last):
    File "/usr/bin/update-manager", line 108, in <module>
      app = UpdateManager(data_dir, options)
    File "/usr/lib/python2.7/dist-packages/UpdateManager/UpdateManager.py", line 278, in __init__
      self.install_backend = backend.get_backend(self.window_main)
    File "/usr/lib/python2.7/dist-packages/UpdateManager/backend/__init__.py", line 49, in get_backend
      return InstallBackendAptdaemon(*args, **kwargs)
    File "/usr/lib/python2.7/dist-packages/UpdateManager/backend/InstallBackendAptdaemon.py", line 23, in __init__
      self.unity = UnitySupport()
  TypeError: __init__() takes exactly 2 arguments (1 given)

  To fix the issue i installed gir1.2-unity-3.0 but i don't think
  update-manager should depend on unity to run.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/823935/+subscriptions




More information about the foundations-bugs mailing list