Discover's PackageKit backend frequently triggers an assert in current packagekitd
When using discover with a current PackageKit git snapshot (after PK commit 409ba85b00f02bfd66589b457a148cce82ad2a34), Discover brings up a dialog saying "Connection reset by peer".
This is caused by packagekitd failing with the assertion introduced in the commit mentioned above.
PackageKit:ERROR:../src/pk-transaction.c:5528:pk_transaction_dispose: assertion failed: (transaction->priv->emitted_finished)
Bail out! PackageKit:ERROR:../src/pk-transaction.c:5528:pk_transaction_dispose: assertion failed: (transaction->priv->emitted_finished)
Looking at the context in PackageKit, it looks like the assert is intentional and merely exposes a problem that has gone unnoticed before (removing an unfinished transaction from the bus), making it likely that this is a bug in discover rather than PackageKit.