https://bugs.kde.org/show_bug.cgi?id=447245
Bug ID: 447245 Summary: Auto updates do not work Product: Discover Version: unspecified Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: discover Assignee: lei...@leinir.dk Reporter: supg...@gmail.com CC: aleix...@kde.org Target Milestone: --- Hi, I try to get auto updates working on a machine that I don't want to babysit that often. The problem is that they work very unreliable. I had them working only once in all the time I have the auto update setting enabled in the system settings. But most times, the machine ends up on very old software, because the auto updates do not get run. STEPS TO REPRODUCE 1. Use Kubuntu 21.10 or 22.04 (dev branch) 2. Enable auto updates in system settings 3. Use the machine for work OBSERVED RESULT Auto updates nearly never get run. EXPECTED RESULT Auto updates should work reliably. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Kubuntu 22.04 (available in About System) KDE Plasma Version: 5.23.4 KDE Frameworks Version: 5.89 Qt Version: 5.15.2 ADDITIONAL INFORMATION I already have a guess why this works so bad. Haven't found documentation for how exactly this works (should be added btw) so I had a look at the source code. Here: https://invent.kde.org/plasma/discover/-/blob/5ad26c9c66cd2b8913e2ee8bfaa93f9fa76d65c0/notifier/UnattendedUpdates.cpp#L33-36 It seems that it waits for an idle moment of 15 minutes (even tho the comment says 1 hour, should be corrected and also made configurable). I don't know what exactly "an idle moment" is. But if it means something like no user input (no mouse movement or keyboard presses) for 15 minutes then this may be the reason for my problem. The machine I try to get auto updates working on is nearly never that long unused while powered on. Usually it is booted, someone gets work done, and it gets shut down again. Yeah, sometimes we get something to drink/eat in between or go to the toilet, but this never takes 15 minutes, so there are no 15 minutes idles and this is most likely why auto updates never get triggered. If my assumption is true, this could be fixed by changing from 15 minutes of idle to for example just 15 minutes after boot. Also, I think 15 minutes is a little long. Would recommend changing it to 10 minutes as default to make it more reliable in more cases, and also make it configurable for those who have to adopt it to their usage. -- You are receiving this mail because: You are watching all bug changes.