"updates_available" feature floods PackageKit with requests

Bug #1828115 reported by Tal Liron
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
byobu
New
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  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.