"updates_available" feature floods PackageKit with requests

Bug #1828115 reported by Tal Liron
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
byobu
Undecided
Unassigned
byobu (Fedora)
New
Undecided
Unassigned

Bug Description

This feature, enabled by default on many operating system configurations, calls "pkcon get-updates" every second. This is a heavy call that uses quite a bit of CPU and also floods journald with logs.

The exact place this happens is here:

https://github.com/dustinkirkland/byobu/blob/master/usr/lib/byobu/updates_available#L59

The recommendation of the PackageKit maintainer is:

"The smart way is do GetUpdates on coldplug and then watch for the UpdatesChanged signal."

This was actually quite hard to debug! I originally opened an issue for this on PackageKit, which eventually led me to Byobu. You can see the maintainer's response and whole thread here:

https://github.com/hughsie/PackageKit/issues/322#issuecomment-490207536

Revision history for this message
Emanuele (emanuc) wrote :

I have the same problem

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers