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

Launchpad Bug Tracker 823935 at bugs.launchpad.net
Thu Aug 11 16:05:23 UTC 2011


This bug was fixed in the package update-manager - 1:0.152.12

---------------
update-manager (1:0.152.12) oneiric; urgency=low

  [ Michael Vogt ]
  * AutoUpgradeTester/UpgradeTestBackendQemu.py:
    - add NonInterative/AddRepoUpgradeImmediately option that allows
      installing test package *before* the test upgrade runs (useful
      for e.g. testing a new apt or dpkg)

  [ Robert Roth ]
  * Added default value to be able to start UpdateManager without
    having gir-unity installed (LP: #823935)
  * Fixed changelog test with the new wording
  * Specify default -1 length for terminal response (LP: #817785)
 -- Michael Vogt <michael.vogt at ubuntu.com>   Thu, 11 Aug 2011 17:58:35 +0200

** Changed in: update-manager (Ubuntu)
       Status: In Progress => Fix Released

-- 
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:
  Fix Released

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