Comment 87 for bug 353278

Revision history for this message
Jesse Sweetland (sweetlandj) wrote :

I ran apt-get install libpolkit* policykit* and rebooted. I now have an /usr/share/dbus-1/gnome-org.freedesktop.PolicyKit.AuthenticationAgent.service, and several others that weren't there before.

I then ran polkit-auth --obtain org.freedesktop.packagekit.system-update and the the command now returns immediately with no output. Return value is 1. No authentication dialog appears (Gnome or KDE).

Here is the output of dbus-monitor --session as I ran the polkit-auth command:

signal sender=org.freedesktop.DBus -> dest=(null destination) serial=17 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.130"
   string ""
   string ":1.130"
method call sender=:1.130 -> dest=org.freedesktop.DBus serial=1 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=Hello
method call sender=:1.130 -> dest=org.freedesktop.PolicyKit.AuthenticationAgent serial=2 path=/; interface=org.freedesktop.PolicyKit.AuthenticationAgent; member=ObtainAuthorization
   string "org.freedesktop.packagekit.system-update"
   uint32 0
   uint32 1945
method return sender=:1.129 -> dest=:1.130 reply_serial=2
   boolean false
signal sender=org.freedesktop.DBus -> dest=(null destination) serial=18 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.130"
   string ":1.130"
   string ""

I tailed dbus-monitor --session when attempting to install something via kpackagekit and I see a lot of org.kde.KNotify stuff, but nothing to do with AuthenticationAgent.