Comment 0 for bug 1579834

Revision history for this message
Carlo Vanini (silhusk) wrote :

/usr/share/apt-xapian-index/update-apt-xapian-index-dbus
terminates with an error and does not update the index.

Mai 09 15:42:10 bear dbus[1017]: [system] Activating service name='org.debian.AptXapianIndex' (using servicehelper)
Mai 09 15:42:10 bear org.debian.AptXapianIndex[1017]: Failed to import 'No module named 'glib'', can not use dbus
Mai 09 15:42:11 bear dbus[1017]: [system] Activated service 'org.debian.AptXapianIndex' failed: Launch helper exited with unknown return code 1

The correct import should be:

    from gi.repository import GLib as glib
    from gi.repository import GObject as gobject

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: apt-xapian-index 0.47ubuntu8 [modified: usr/share/apt-xapian-index/update-apt-xapian-index-dbus]
ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6
Uname: Linux 4.4.0-21-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
CurrentDesktop: KDE
Date: Mon May 9 17:52:17 2016
InstallationDate: Installed on 2015-05-04 (370 days ago)
InstallationMedia: Kubuntu 15.04 "Vivid Vervet" - Beta amd64 (20150326)
PackageArchitecture: all
SourcePackage: apt-xapian-index
UpgradeStatus: Upgraded to xenial on 2016-05-04 (4 days ago)