[Bug 1226100] Re: Fix FTBFS of aptdaemon 1.1.1 for Saucy

Launchpad Bug Tracker 1226100 at bugs.launchpad.net
Wed Sep 18 13:29:48 UTC 2013


** Branch linked: lp:ubuntu/saucy-proposed/aptdaemon

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

Title:
  Fix FTBFS of aptdaemon 1.1.1 for Saucy

Status in “aptdaemon” package in Ubuntu:
  New

Bug description:
  The functionality to automatically download and install printer
  drivers in system-config-printer does not work any more in current
  Saucy. The problem is with PackageKit. After a hint from xnox on IRC I
  have installed aptdaemon 1.1.1 from

  https://launchpad.net/ubuntu/+source/aptdaemon/1.1.1-0ubuntu1

  (adding "DEB_BUILD_OPTIONS=nocheck" to debian/rules to override the
  failing tests) and  with this version the driver package installation
  of system-config-printer works.

  Can you fix the aptdaemon 1.1.1 package so that it makes it into
  Saucy? I am very grateful if automatic printer driver download will
  work in Saucy.

  The problem seems to be an API compatibility failure when trying to
  add the GPG key:

  till at till-twist:/usr/share/system-config-printer$ python
  Python 2.7.5+ (default, Jun  5 2013, 10:40:07) 
  [GCC 4.8.1] on linux2
  Type "help", "copyright", "credits" or "license" for more information.
  >>> from gi.repository import GLib, PackageKitGlib
  >>> import sys
  >>> def progress(progress, type, user_data): pass
  ... 
  >>> pk = PackageKitGlib.Client()
  >>> res = pk.install_signature(PackageKitGlib.SigTypeEnum.GPG, "E5220FB7014D0FBDA50DFC2BE5E86C008AA65D56", "", None, progress, None)
  __main__:1: Warning: g_variant_get_uint64: assertion 'g_variant_is_of_type (value, G_VARIANT_TYPE_UINT64)' failed
  __main__:1: Warning: g_variant_get_uint32: assertion 'g_variant_is_of_type (value, G_VARIANT_TYPE_UINT32)' failed
  Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
  gi._glib.GError: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/dbus/service.py", line 654, in _message_cb
      (candidate_method, parent_method) = _method_lookup(self, method_name, interface_name)
    File "/usr/lib/python3/dist-packages/dbus/service.py", line 246, in _method_lookup
      raise UnknownMethodException('%s is not a valid method of interface %s' % (method_name, dbus_interface))
  dbus.exceptions.UnknownMethodException: org.freedesktop.DBus.Error.UnknownMethod: Unknown method: CreateTransaction is not a valid method of interface org.freedesktop.PackageKit

  >>>

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aptdaemon/+bug/1226100/+subscriptions



More information about the foundations-bugs mailing list