[packagekit] New method: GetDaemonState
hughsient at gmail.com
Mon Feb 16 02:10:22 PST 2009
FYI: I'm having real problems debugging packagekitd on live systems
(without debuginfo, no compiler). To help me, I've added a
GetDaemonState() method on the main interface. This returns a string of
unspecified format that describes the engine and anything untoward.
0 get-updates /247_dacebbda_data running committed finished
1 get-updates /248_acbacbdc_data running committed finished
2 get-updates /250_bddcabcd_data running committed finished
WARNING: 1 have not been committed
ERROR: 2 have inconsistent flags
If you run pkmon with --verbose it'll also print out the engine state.
I'll likely add more information there in the next few days. This makes
things much easier to debug. You probably don't need to wrap this in
packagekit-qt or packagekit-sharp as it's only needed in pkmon.
More information about the PackageKit