Package: gir1.2-packagekitglib-1.0 Version: 1.0.1-2 Severity: normal According to the packagekit docs, the arch filter should only return packages matching the system architecture: http://www.freedesktop.org/software/PackageKit/gtk-doc/introduction-ideas- filters.html
Using pkcon, this works: $ pkcon resolve --filter arch python3-zmq Resolving [=========================] Loading cache [=========================] Installed python3-zmq-14.4.0-1.amd64 (testing) Python3 bindings for 0MQ library However, using the Gobject introspection bindings from Python (2 or 3), it does not find any matching packages: In [1]: from gi.repository import PackageKitGlib In [2]: t = PackageKitGlib.Task() .... In [10]: res = t.resolve(PackageKitGlib.FilterEnum.ARCH, ['python3-zmq'], None, cb, None) In [11]: [p.get_id() for p in res.get_package_array()] Out[11]: [] This appears to be specific to the ARCH filter: resolving packages with the filter set to NONE or INSTALLED works as expected. $ uname -a Linux tom 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt2-1 (2014-12-08) x86_64 GNU/Linux -- System Information: Debian Release: 8.0 APT prefers testing APT policy: (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages gir1.2-packagekitglib-1.0 depends on: ii gir1.2-glib-2.0 1.42.0-2.2 ii libpackagekit-glib2-18 1.0.1-2 gir1.2-packagekitglib-1.0 recommends no packages. gir1.2-packagekitglib-1.0 suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org