This should work: --- /usr/lib/python2.5/site-packages/UpdateManager/Common/utils.py 2007-10-01 18:10:52.000000000 +0200 +++ utils.py 2008-05-04 11:04:10.000000000 +0200 @@ -23,7 +23,7 @@ import dbus bus = dbus.Bus(dbus.Bus.TYPE_SESSION) devobj = bus.get_object('org.freedesktop.PowerManagement', - '/org/freedesktop/PowerManagement') + '/org/freedesktop/PowerManagement/Inhibit') dev = dbus.Interface(devobj, "org.freedesktop.PowerManagement.Inhibit") cookie = dev.Inhibit('UpdateManager', 'Updating system') return (dev, cookie)
-- org.freedesktop.DBus.Error.UnknownMethod: Method "Inhibit" with signature "ss" https://bugs.launchpad.net/bugs/140754 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs