[packagekit] Shutdown packagekitd manually
Stefan Haas
shaas at suse.de
Mon May 5 06:57:22 PDT 2008
Richard Hughes schrieb:
> On Tue, 2008-04-29 at 10:49 +0200, Stefan Haas wrote:
>
>> as long as packagekitd is running the packagemanagement system is
>> locked (at least on the zypp side). No matter if some transaction is
>> runningor pk is idle. So the user has to wait till shutdown timeout
>> period is over or he has to kill packagekitd.
>> Therefore a dbus call to shutdown the backend would be very handy.
>> Needless to say, that if a transaction is running this call will fail.
>>
>
> Well, I guess what you are trying to do is shutdown packagekit because
> you're using a native tool. One easy way to do this would put a DBUS
> method on the interface - or if you just want just
> "touch /etc/PackageKit/PackageKit.conf" -- the latter works as the
> daemon things it's been upgraded and exits as soon as the last
> transaction has finished. Yell if you want a DBUS method.
>
> Richard.
>
Right. I think a DBUS method would be the most intuitive and convenient
solution.
Stefan
--
Stefan Haas <shaas at suse.de> SUSE Linux Products GmbH Research &
Development Maxfeldstr. 5 GF: Markus Rex, HRB 16746 (AG Nürnberg)
D-90409 Nürnberg
More information about the PackageKit
mailing list