If you don't call SetLocale on your transaction, packagekitd dies with an assertion failure:
** CRITICAL **: pk_backend_set_locale: assertion `code != NULL' failed
front ends probably shouldn't be able to kill the daemon like that.
This is with git 9b6ae4b15a04b7cdd1ca1dd48e5cf89392509e11
Created attachment 18520 [details] [review]
what I've added to git
I've added this patch into git -- can you please confirm this works? Thanks!