With the hawkey backend, offline-update-competed almost always has an empty Packages= list. It only seems to include packages that are installed, but never those that are being updated. I've added a bunch of debug locally to find out what's going wrong there and I believe I've figured out the root cause.
Created attachment 100650 [details] [review] [PATCH] hawkey: Correctly set the cleanup status We were wrongly setting the cleanup status not on the removed package, but on the one that got installed as a replacement. -- This applies to the PACKAGEKIT_0_9_X branch; the code on master seems to differ quite a bit.
Created attachment 100652 [details] [review] [PATCH] hawkey: Correctly set the cleanup status Minor improvement to the first patch after I read hawkey code and realised that hy_package_link just increases the refcount.
Pushed this to both PACKAGEKIT_0_9_X and libhif master after IRC review.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.