SUMMARY If i run a manual update (in my specific case on arch, using pacman) the notifier will still display updates available notification, only if you open discover it will update the status. This could be relatively easily fixed by adding a pacman hook, that will trigger a recheck for updates. I guess the hard part would be to come up with a custom solution for each packet manager STEPS TO REPRODUCE 1. when Notifier show available updates, run the update manually OBSERVED RESULT Notifier still display available updates notification EXPECTED RESULT Notifier does not display available update notification
This is an issue in PackageKit. The alpm backend could be installing such a hook already. Please report/implement it there. https://github.com/hughsie/PackageKit
@aleix i open an issue as https://github.com/hughsie/PackageKit/issues/458 can you please check that I didnt write anything bad? AFAIU this is a problem in PackageKit missing the proper API rather than just missing a simple hook installation. In this case Discovery should also be changed to use the new eventual API, so this should not be resolved but "blocked"