[packagekit] Whichlist item: PackgeKit.Exit()

Richard Hughes hughsient at gmail.com
Tue Sep 16 00:26:01 PDT 2008


On Tue, 2008-09-16 at 09:04 +0200, Sebastian Heinlein wrote:
> would be nice to tigger a restart of the packagekit daemon in the post
> installation maintainer scripts in the case of packagekit updates having
> a dbus transaction Exit().

What are you trying to achieve? You want to suggest to the daemon that
it quits after the last transaction?

This is what I use:

    <method name="SuggestDaemonQuit">
      <doc:doc>
        <doc:description>
          <doc:para>
            Suggests to the daemon that it should quit as soon as possible, for instance if a native
            package management tool is waiting to be used.
          </doc:para>
        </doc:description>
      </doc:doc>
    </method>

It asks the daemon to quit, but as it's system activated, it starts
right up again in the new instance if it's needed.

Richard.






More information about the PackageKit mailing list