Summary: | Auto-Update for flatpaks via Discover appears to be non-functional | ||
---|---|---|---|
Product: | [Applications] Discover | Reporter: | Shawn W Dunn <sfalken> |
Component: | Flatpak Backend | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | aleixpol, izerpizer, jgqehj55, jgrulich, johnmaverick74, kde, kilgore.trout, mlw5krilu, nate, robert, supgesu, tim, travier, viniciush.dev |
Priority: | NOR | ||
Version: | 5.27.6 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=447245 | ||
Latest Commit: | https://invent.kde.org/plasma/discover/-/commit/78cce3a269bbbe3f7b41755a20561426e68f8559 | Version Fixed In: | 6.2.4 |
Sentry Crash Report: | |||
Attachments: | logs of manual run of plasma-discover-update via journalctl |
*** Bug 472908 has been marked as a duplicate of this bug. *** it's the same issue here too but plasma-discover-update don't update anything Operating System: Fedora Linux 40 KDE Plasma Version: 6.1.4 KDE Frameworks Version: 6.5.0 Qt Version: 6.7.2 Kernel Version: 6.10.3-200.fc40.x86_64 (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 5700U with Radeon Graphics Memory: 7,1 GiB of RAM Graphics Processor: AMD Radeon Graphics Manufacturer: LENOVO Product Name: 82MF System Version: IdeaPad 3 15ALC6 I also have this same issue with multiple clients who use fedora, having wanted to move away from windows. I have downloaded and install enabled, but they don't actually download and install, only notify there is an update. Many tech illiterate people and those that don't understand updates won't even know about doing updates, especially if they are used to windows doing updates automatically for them. This could result in security updates and bug fixes being missed out. (In reply to Jack from comment #3) > I also have this same issue with multiple clients who use fedora, having > wanted to move away from windows. > > I have downloaded and install enabled, but they don't actually download and > install, only notify there is an update. Many tech illiterate people and > those that don't understand updates won't even know about doing updates, > especially if they are used to windows doing updates automatically for them. > > This could result in security updates and bug fixes being missed out. as a workaround for your issue you can make a systemd script to automatically update the flatpaks, it's not ideal yes, but better than missing security updates before this get fixed *** Bug 447245 has been marked as a duplicate of this bug. *** A possibly relevant merge request was started @ https://invent.kde.org/plasma/discover/-/merge_requests/960 Git commit c772b13638ce1abfb6de7ba735cbd42e3cac2d35 by Harald Sitter. Committed on 05/11/2024 at 13:55. Pushed by sitter into branch 'master'. update: disable quitting on eventloop locker KNS (for instance) uses KJobs and KJobs have eventloop lockers and those lockers cause the application to quit when the last locker disappears (i.e. job finishes). this is before we have finished our work so the updater ended up broken. M +5 -0 update/main.cpp https://invent.kde.org/plasma/discover/-/commit/c772b13638ce1abfb6de7ba735cbd42e3cac2d35 Git commit 78cce3a269bbbe3f7b41755a20561426e68f8559 by Harald Sitter. Committed on 05/11/2024 at 14:11. Pushed by sitter into branch 'Plasma/6.2'. update: disable quitting on eventloop locker KNS (for instance) uses KJobs and KJobs have eventloop lockers and those lockers cause the application to quit when the last locker disappears (i.e. job finishes). this is before we have finished our work so the updater ended up broken. (cherry picked from commit c772b13638ce1abfb6de7ba735cbd42e3cac2d35) Co-authored-by: Harald Sitter <sitter@kde.org> M +5 -0 update/main.cpp https://invent.kde.org/plasma/discover/-/commit/78cce3a269bbbe3f7b41755a20561426e68f8559 (In reply to Harald Sitter from comment #8) > Git commit 78cce3a269bbbe3f7b41755a20561426e68f8559 by Harald Sitter. > Committed on 05/11/2024 at 14:11. > Pushed by sitter into branch 'Plasma/6.2'. > > update: disable quitting on eventloop locker Any idea if this will also fix (or, at least, is related to) bug 447245 ? The part of that bug that was about Flatpaks at least, yeah. |
Created attachment 159962 [details] logs of manual run of plasma-discover-update via journalctl SUMMARY On openSUSE Kalpa, we only use Discover to handle the installation and management of flatpaks and fwupd, setting Updates to run Automatically in the "Software Update" kcm appears to work fine for fwupd, but is non-functional for flatpak/flathub STEPS TO REPRODUCE 1. Enable flathub repository 2. Install some flatpaks 3. Set to automatically update software daily in the "Software Update" kcm OBSERVED RESULT Flatpaks do not get updated automatically. The Notification that updates are available works just fine, but there is no automatic download and installation of them. EXPECTED RESULT Discover checks for updates of flatpaks from enabled repositories, downloads, and installs them, on a daily schedule SOFTWARE/OS VERSIONS Linux/KDE Plasma: openSUSE Kalpa 20230625 (Linux 6.3.9-1-default) KDE Plasma Version: 5.27.6 KDE Frameworks Version: 5.107.0 Qt Version: 5.15.10 ADDITIONAL INFORMATION Running `plasma-discover-update` manually in a terminal produces the expected output. Please see attached logs.