Created attachment 193318 [details] Screenshot of encountered behaviour. DESCRIPTION Since I updated my Fedora 44 system to Plasma 6.7 yesterday, the "Updates" tab on Discover has been permanently stuck on "Fetching updates..." despite showing available updates on the button to switch to the updates window. Pressing "refresh" has it going through the stages successfully (refreshing flatpak, snap and the Fedora Linux RPM sources) but it still ends on "Fetching updates...". The Update All button is permanently greyed out during all of this. I've tried the usual steps of restarting my system and confirming that I have a valid internet connection and that none of the services the update button calls are down or are blocking my IP (I encountered a similar issue last month when Snap was down). I manually ran a "sudo dnf upgrade" this morning which reduced the available update count went down from 3 to 1 in Discover so it is definitely fetching the updates properly, it just refuses to let me apply them. STEPS TO REPRODUCE 1. Update to Plasma 6.7.0. 2. Try to run an update from Discover. OBSERVED RESULT It fetches available updates properly as indicated by the update count on the "Updates" button on the tab on the left, it does not let you apply them. EXPECTED RESULT It should let you apply available updates by clicking "Update All" SOFTWARE/OS VERSIONS Operating System (available in the Info Center app, or by running `kinfo` in a terminal window): Fedora Linux 44 KDE Plasma Version: 6.7.0 KDE Frameworks Version: 6.27.0 Qt Version: 6.11.1 ADDITIONAL INFORMATION
Having the same issue, my screenshot looks identical would be redundant to upload.
Same here - I tried to update manually, but that was not a good idea. any workaround to unstuck discover?
+1 for same issue, when running updates through terminal I got this error message regarding a dependency conflict with libuuid: Problem: installed package libmount-2.41.4-7.fc44.x86_64 requires libuuid(x86-64) = 2.41.4-7.fc44, but none of the providers can be installed - installed package systemd-259.6-1.fc44.x86_64 requires libmount.so.1()(64bit), but none of the providers can be installed - installed package systemd-259.6-1.fc44.x86_64 requires libmount.so.1(MOUNT_2.26)(64bit), but none of the providers can be installed - conflicting requests - problem with installed package Might have something to do with it? I tried fixing it but quite frankly I don't dare do anything more than I've already done and my system still works completely fine otherwise
Same here. Have to use dnf until there is a resolution. I wonder if it's specific to Fedora?
https://bugs.kde.org/show_bug.cgi?id=500513 Check out this thread for the current work-around. Appears to be related to snaps
Yeah I disabled snap a few days ago no difference for me. I just have to keep updating via konsole until the update tab in discover is fixed.
(In reply to jz5678910 from comment #5) > https://bugs.kde.org/show_bug.cgi?id=500513 > > Check out this thread for the current work-around. > > Appears to be related to snaps Same as prior comment, I never had snap enabled in Discover.
An update for PackageKit was released today, doesn't resolve the issue though. Still reliant on CLI for updates.
*** Bug 522187 has been marked as a duplicate of this bug. ***
*** Bug 521865 has been marked as a duplicate of this bug. ***
*** Bug 522091 has been marked as a duplicate of this bug. ***
*** Bug 522097 has been marked as a duplicate of this bug. ***
*** Bug 522107 has been marked as a duplicate of this bug. ***
*** Bug 522128 has been marked as a duplicate of this bug. ***
*** Bug 522143 has been marked as a duplicate of this bug. ***
*** Bug 522169 has been marked as a duplicate of this bug. ***
There are quite a few people reporting this on different distros (Fedora and Neon so far). Raising priority. This was reported being in terminal output by multiple people qrc:/qt/qml/org/kde/discover/qml/UpdatesPage.qml:40:5: QML OverlaySheet: Binding loop detected for property "y": qrc:/qt/qml/org/kde/kirigami/templates/OverlaySheet.qml:121:5 packagekitqt.offline: Properties could not be invalidated "org.freedesktop.PackageKit.Offline" QList("PreparedUpgrade") packagekitqt.offline: Properties could not be invalidated "org.freedesktop.PackageKit.Offline" QList("PreparedUpgrade") packagekitqt.offline: Properties could not be invalidated "org.freedesktop.PackageKit.Offline" QList("PreparedUpgrade") packagekitqt.offline: Properties could not be invalidated "org.freedesktop.PackageKit.Offline" QList("PreparedUpgrade") However, that was seen by one user after Discover successfully showed updates, so that may be unrelated
And the problem came back the very next day (smh) Continuing the DNF and Flatpak updates through terminal.
Comming from https://bugs.kde.org/show_bug.cgi?id=522169 closed as duplicate of this Excluding fwupd as a backend, reliably works around the issue for me. `plasma-discover --backends packagekit,flatpak,fwupd --mode update` stalls (logging in 522169) `plasma-discover --backends packagekit,flatpak --mode update` completes as normal started as of plasma-discover-6.7.0-1.fc44.x86_64 (Fedora 44 also)
I don't encounter this on KDE Linux; it's likely in the PackageKit backend, or an interaction between it and another backend.
(In reply to Anthony Lee from comment #19) > Comming from https://bugs.kde.org/show_bug.cgi?id=522169 closed as duplicate > of this > Excluding fwupd as a backend, reliably works around the issue for me. > > `plasma-discover --backends packagekit,flatpak,fwupd --mode update` > stalls (logging in 522169) > > `plasma-discover --backends packagekit,flatpak --mode update` > completes as normal > > started as of plasma-discover-6.7.0-1.fc44.x86_64 > (Fedora 44 also) Interesting. For me, fwupd is AOK. Excluding snap suffices: plasma-discover --backends flatpak,fwupd,kns,rpm-ostree works fine. If the failure mode can be generated with snap or fwupd engaged, it's maybe not actually a snap problem?
*** Bug 522025 has been marked as a duplicate of this bug. ***
*** Bug 521967 has been marked as a duplicate of this bug. ***
*** Bug 521975 has been marked as a duplicate of this bug. ***
*** Bug 521905 has been marked as a duplicate of this bug. ***
*** Bug 521885 has been marked as a duplicate of this bug. ***
*** Bug 521762 has been marked as a duplicate of this bug. ***
(In reply to Steve Sibelman from comment #21) > > Interesting. For me, fwupd is AOK. Excluding snap suffices There's a separate but related report for the snap backend in bug 500513 Please do not include quoted text in your replies, except where necessary. It adds noise to the report. Thanks for understanding.
Yes it's actually snap backend error on the discover, because when i disabled snap, every update was visible.
Created attachment 193747 [details] attachment-3427259-0.html I don't have snap enabled and Discover still doesn't show the updates. Glad that your Discover app is working now though! On 6/26/26 15:14, Adam wrote: > https://bugs.kde.org/show_bug.cgi?id=521682 > > --- Comment #29 from Adam<blackwar3592@gmail.com> --- > Yes it's actually snap backend error on the discover, because when i disabled > snap, every update was visible. >
(In reply to Steve Sibelman from comment #21) > ...For me, fwupd is AOK... I should have included (from my original issue) that fwupd services are all masked disabled under my issue.
Update on my end: I tried uninstalling the snapd service from my device since I'd switched to Homebrew for some of the tools I'd used snap for and now Discover updates work for the first time since the update to plasma 6.7. It seems uninstalling/disabling snap works for people who had snap already installed but for people who never had it it doesn't matter? I wonder if it's not snap missing that fixes it but the act of removing the snap backend on Discover does something to fix this?
(In reply to cerealkilla123 from comment #32) > Update on my end: I tried uninstalling the snapd service from my device > since I'd switched to Homebrew for some of the tools I'd used snap for and > now Discover updates work for the first time since the update to plasma 6.7. > > It seems uninstalling/disabling snap works for people who had snap already > installed but for people who never had it it doesn't matter? > > I wonder if it's not snap missing that fixes it but the act of removing the > snap backend on Discover does something to fix this? Removing the Discover Snap backend fixed this issue for me aswell, don't know if this is a permanent fix or temporary. If anything changes I will comment. Something to note is I never enabled Snap, when I tried to enable it then disable it in Discover it wouldn't let me enable it or disable it. Command to remove snap backend "sudo dnf remove plasma-discover-snap"
(In reply to RubyRose from comment #33) > Removing the Discover Snap backend fixed this issue for me aswell… > Command to remove snap backend "sudo dnf remove plasma-discover-snap" Confirmed for me, removing snap backend fixed this for me too.
*** Bug 522263 has been marked as a duplicate of this bug. ***
This Bugzilla ticket is about those *not* using the Snap backend; re-opening. Bug 500513is the one tracking the issue with the Snap backend specifically.
I have same problem. ` plasma-discover --mode update org.kde.plasma.libdiscover: OdrsReviewsBackend: Fetch ratings: false adding empty sources model QStandardItemModel(0x56039bab4660) qrc:/qt/qml/org/kde/discover/qml/DiscoverWindow.qml:124:5: QML Shortcut: Shortcut: Only binding to one of multiple key bindings associated with 15. Use 'sequences: [ <key> ]' to bind to all of them. qrc:/qt/qml/org/kde/discover/qml/UpdatesPage.qml:40:5: QML OverlaySheet: Binding loop detected for property "y": qrc:/qt/qml/org/kde/kirigami/templates/OverlaySheet.qml:121:5 qt.qpa.services: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: Connection already associated with an application ID") packagekitqt.offline: Properties could not be invalidated "org.freedesktop.PackageKit.Offline" QList("PreparedUpgrade") packagekitqt.offline: Properties could not be invalidated "org.freedesktop.PackageKit.Offline" QList("PreparedUpgrade") packagekitqt.offline: Properties could not be invalidated "org.freedesktop.PackageKit.Offline" QList("PreparedUpgrade") packagekitqt.offline: Properties could not be invalidated "org.freedesktop.PackageKit.Offline" QList("PreparedUpgrade") QIODevice::read (QSslSocket): device not open
Today updated from Plasma 6.7.0 to 6.7.1 Problem reappeared. Discover update once again hung at never ending Update. Checked for package: "plasma-discover-snap" and it was reinstalled with KDE Plasma 6.7.1 Removing the package and rebooting once again fixed the problem.
(In reply to Nate Graham from comment #36) > This Bugzilla ticket is about those *not* using the Snap backend; re-opening. > > Bug 500513is the one tracking the issue with the Snap backend specifically. I suspect that this issue was snap related all along. Do we have any confirmation that the original creator of the ticket already had snaps back and removed? Is anyone experiencing this that doesn't have the snap backend installed? My ticket was rolled into this one, and removing the snap backend definitely fixed it for me.
(In reply to Nabeel from comment #39) > (In reply to Nate Graham from comment #36) > > This Bugzilla ticket is about those *not* using the Snap backend; re-opening. > > > > Bug 500513is the one tracking the issue with the Snap backend specifically. > > I suspect that this issue was snap related all along. Do we have any > confirmation that the original creator of the ticket already had snaps back > and removed? > >My ticket was rolled into this one, and removing the snap backend definitely fixed it for me. Just to clarify: Snap was disabled already for me, and I still had this issue, but removing the snap backend fixes it, despite snap already being disabled. So I think we should confirm with the people who have snap disabled, that they in-fact have it removed as well, and are still having the issue.
(In reply to Alfred from comment #38) > Today updated from Plasma 6.7.0 to 6.7.1 > Problem reappeared. Discover update once again hung at never ending Update. > Checked for package: "plasma-discover-snap" and it was reinstalled with KDE > Plasma 6.7.1 > Removing the package and rebooting once again fixed the problem. thx, it's helped to me.
(In reply to Alfred from comment #38) > Today updated from Plasma 6.7.0 to 6.7.1 > Checked for package: "plasma-discover-snap" and it was reinstalled with KDE > Plasma 6.7.1 > Removing the package and rebooting once again fixed the problem. Same here, sudo dnf remove plasma-discover-snap instantly fixed the problem, meaning there's an issue with that package. I prefer flatpaks myself, but it's still an issue nonetheless, particularly for Kubuntu users.
(In reply to Ty from comment #42) > Same here, sudo dnf remove plasma-discover-snap instantly fixed the problem, > meaning there's an issue with that package. I prefer flatpaks myself, but > it's still an issue nonetheless, particularly for Kubuntu users. I noticed that the snap backend holds a bunch of other discover packages behind on an older version. That may be the core issue.
Hello, Same error for me after launching last updates : Discover is stuck again on "Fetching updates" and SELinux throwed a bunch of errors about snap. My Plasma version : plasmashell -v plasmashell 6.7.1 My Kernel version : uname -r 7.0.13-200.fc44.x96_64 I resolved with same bypass : sudo dnf remove plasma-discover-snap reboot Be careful, if you have snap packages installed, this command will remove them all.
Here are the 19 SELinux alerts I got before removing snap again : # Source Process Attempted Access Occurred Last Seen Status 1 snapd creat snapd 1 2026-06-28 00:11:40 Notify 2 snapd write lock 4 2026-06-28 00:11:58 Notify 3 snapd add_name mesa-2404.lock 2 2026-06-28 00:11:58 Notify 4 snapd create mesa-2404.lock 2 2026-06-28 00: Notify 5 snap-confine read,write mesa-2404.lock 2 2026-06-28 00: Notify 6 snap-confine open mesa-2404.lock 2 2026-06-28 00:1 Notify 7 snap-confine setattr mesa-2404.lock 2 2026-06-28 00:1 Notify 8 snap-confine lock mesa-2404.lock 3 2026-06-28 00:1 Notify 9 snap-confine read lib 2 2026-06-28 00:1 Notify 10 snap-confine read var 2 2026-06-28 00:1 Notify 11 snap-confine unlink libnvidia-cfg.so.1 2 2026-06-28 00: Notify 12 snap-confine getattr pw_dict-hwm, 2 2026-06-28 00: Notify 13 snap-confine search cracklib 450 2026-06-28 00:12:18 Notify 14 snap-confine remount N/A 2 2026-06-28 00:12:18 Notify 15 snapd write signal-desktop.lock 5 2026-06-28 00:12:20 Notify 16 snap-update-ns read,write signaldesktop.lock 3 2026-06-28 00:12:20 Notify 17 snap-update-ns open signaldesktop.lock 3 2026-06-28 00:12:20 Notify 18 snap-update-ns lock signaldesktop.lock 3 2026-06-28 00:12:20 Notify 19 snap-discard-ns setattr signal-desktop. lock 1 2026-06-28 00:12:20 Notify
(In reply to Steve Sibelman from comment #21) > Interesting. For me, fwupd is AOK. Excluding snap suffices: > plasma-discover --backends flatpak,fwupd,kns,rpm-ostree works fine. > > If the failure mode can be generated with snap or fwupd engaged, it's maybe > not actually a snap problem? Agreed. These backends having issues should not be able to bring down the rest of Discover. That's not an acceptable failure mode for something so important to being able to maintain your machine. Not everyone is comfortable in the terminal, and while most of us are, if we have any hope of linux based OSs becoming main stream, these kinds of issues can't occur.
*** Bug 522352 has been marked as a duplicate of this bug. ***
*** Bug 522431 has been marked as a duplicate of this bug. ***
Same here, screen-shot would show the same output just in German.
Just came to update that 6.7.2 did not fix the issue, at least on Fedora 44. plasma-discover-snap was automatically reinstalled with the update breaking Discover again. Once again, had to run "sudo dnf remove plasma-discover-snap" to regain updates in Discover. Granted, there hasn't been any mention of the issue being fixed in the KDE blog.
I updated title, as the bug -is- snap-related, but specific to plasma-discover-snap. I believe this should be a medium-priority issue with regards to distros that are more reliant on Snap, such as Kubuntu. In fairness, those distros will typically hold back a few versions anyway, but I could be mistaken.
(In reply to Ty from comment #51) > I updated title, as the bug -is- snap-related, but specific to > plasma-discover-snap. > > I believe this should be a medium-priority issue with regards to distros > that are more reliant on Snap, such as Kubuntu. In fairness, those distros > will typically hold back a few versions anyway, but I could be mistaken. I'm on Fedora, I don't use snap, I have no snap packages installed... and yet, this broke discover for me. I wouldn't say this is medium priority. I would say this is very high priority, especially considering anyone that has this issue, and doesn't have technical knowledge to be able to use the terminal, is now completely stuck, unable to update at all, including getting important security updates, which in today's day and age, with all the kernel exploits being found, is a really bad situation to be in.
For me the update too now solved the problem.
(In reply to Nabeel from comment #52) > (In reply to Ty from comment #51) > > I updated title, as the bug -is- snap-related, but specific to > > plasma-discover-snap. > > > > I believe this should be a medium-priority issue with regards to distros > > that are more reliant on Snap, such as Kubuntu. In fairness, those distros > > will typically hold back a few versions anyway, but I could be mistaken. > > I'm on Fedora, I don't use snap, I have no snap packages installed... and > yet, this broke discover for me. I wouldn't say this is medium priority. I > would say this is very high priority, especially considering anyone that has > this issue, and doesn't have technical knowledge to be able to use the > terminal, is now completely stuck, unable to update at all, including > getting important security updates, which in today's day and age, with all > the kernel exploits being found, is a really bad situation to be in. I agree on the severity bump, considering the package also continues to reinstall itself each update. As widely reported as this bug has been, I'm not sure how it wasn't caught. Or if it was caught, how it was allowed to be released.
Because it's the easier than chekcing commits and release notes, and because its valuable regardless * RE: new plasma-discover 6.7.2, confirm that symptoms of https://bugs.kde.org/show_bug.cgi?id=522169 remain unchanged. Issue still occurring. I'm not familiar with how the KDE project uses this bugzilla with regard to their actually development work, i.e. is are these tickets ever changed to status 'assigned' once someone is working on it? Is blocked and depends on filled once a task is begun? ---- ## I concur that the priority of this issue should be bumped. ## The work arounds range from obscure CLI, to the uninstallation of entire software platforms (snap). Where the former can not be assumed to be available to the kinds of users who place great value on a GUI, and the latter is a high cost remedy. The priority of this issue equates to either: * Are software updates, including security, a priority? or * Is using a GUI a priority? If the answer to either of those questions is yes, then this should be a priority issue, arguably even urgent. (I'm fine personally, but for me the answer to the the later question, in the case of GUI for updates, is 'No'. I assume this is not the case for KDE's wider user base.)
All of you who are discussing Snap, your bug report is Bug 500513. This is about the case where Snap support is NOT enabled.
(In reply to Anthony Lee from comment #55) > I'm not familiar with how the KDE project uses this bugzilla with regard to > their actually development work, i.e. is are these tickets ever changed to > status 'assigned' once someone is working on it? Is blocked and depends on > filled once a task is begun? The status automatically changes to ASSIGNED once there's a merge request open that references this bug using its number. > ## I concur that the priority of this issue should be bumped. ## It's already set to VHI ("very high") priority. There is no higher priority level.
(In reply to Nate Graham from comment #56) > All of you who are discussing Snap, your bug report is Bug 500513. This is > about the case where Snap support is NOT enabled. I think both those bug reports should be rolled into one. Three things: 1st My bug report was rolled into this one, which is why I've been continuing comment on this one. 2nd Snap backend is not enabled for me, yet this still happens anyway. I still need to manually remove the snap backend to get discovered to work again, despite it being already disabled, and it automatically gets reinstalled after a few days. 3rd I think all those issues, whether they're snap related or otherwise should all be rolled into one bug report, because it's not reasonable for back end modules to bring down all of the rest of Discover like this. It shouldn't matter whether it's an issue with snap, or firmware updates, or whatnot... No one cares what's going on in the backend. People care that discover is hanging on checking for updates. That's the core issue, and we shouldn't lose sight of that. This behavior is the problem, not what's causing it in the backend. If multiple things are causing this behavior in the backend, then that just means that there needs to be a fundamental change with how these backends are handled within Discover, so they can't break Discover in this sort of way, if those backends misbehave. Discover is a fundamental and important part of KDE. When Discover breaks in such a way, any user that doesn't know how to navigate through a terminal, is permanently and irrecoverably stuck. That's not an acceptable failure mode. Without using the terminal, those users will never get updates ever again, including the updates that will fix their problem. Treating this as an issue with those backends, instead of a fundamental issue with Discover, makes Discover fundamentally unreliable and unstable. I understand from a technical perspective why the focus might be on the individual separate back,ends that are causing this issue but the problem isn't that the issue happened, the problem is that the issue was at all possible in the first place. That's where our focus should be. We are all well versed enough to be able to dig ourselves out of this hole in the terminal. The users that are now permanently and forever stuck, unable to ever update again, are the users that do not have a voice in this thread, and are the users that we should be thinking about when we consider how to solve this issue. We can't have this kind of thing happen again.
(In reply to Nabeel from comment #58) > (In reply to Nate Graham from comment #56) > > All of you who are discussing Snap, your bug report is Bug 500513. This is > > about the case where Snap support is NOT enabled. > > I think both those bug reports should be rolled into one. No, because there are two bugs. One affects people using Snap, and goes away when they remove the Snap backend. The other one (this one) is not about that and persists even if you don't have Snap at all. > 1st My bug report was rolled into this one, which is why I've been > continuing comment on this one. > > 2nd Snap backend is not enabled for me, yet this still happens anyway. That means you are affected by both Bug 500513 and this one. > despite it being already disabled, and it automatically gets > reinstalled after a few days. This sounds very bad, but it's not a KDE issue. It would be something coming from the distro's packaging. Please do bring it up with them. > No one cares what's going on in the backend. People care that discover is > hanging on checking for updates. That's the core issue, and we shouldn't > lose sight of that. Clearly. But you're on a technical bug tracker which is for tracking specific technical bugs. Since there are multiple bugs, they need to be tracked separately. > We are all well versed enough to be able to dig ourselves out of this hole > in the terminal. > The users that are now permanently and forever stuck, unable to ever update > again, are the users that do not have a voice in this thread, and are the > users that we should be thinking about when we consider how to solve this > issue. > > We can't have this kind of thing happen again. Definitely not! Feel free to be a part of the solution by helping to fix the issue. And afterwards, you can help make sure it doesn't happen again by adding relevant autotests and integration tests. If you aren't capable of performing those actions, then the next most helpful thing you can do is avoid making too much noise in Bugzilla that distracts and de-motivates the developers (who for Discover are all volunteers!) who *are* capable of resolving the issue. Thanks for understanding! No need to reply unless you have new information that can help developers fix the bug.
RE: new plasma-discover 6.7.3, confirm that symptoms of https://bugs.kde.org/show_bug.cgi?id=522169 remain unchanged. Issue still occurring.
It was suggested so I've done some work on investigating this issue. The issue seems to be as follows (and this is what I put in my commit message): Before: `StandardBackendUpdater::refreshUpdateable()` skipped `setSettingUp(false)` for a backend that invalidated before setup, but `isFetchingUpdates()` tested only `fetchingUpdatesProgress() != 100` and `m_settingUp`, so both being false let the Updates page finish normally. Now: commit `401d8e26ac4509a7538c4382daf6063bc40c36a8` appended `|| !m_hasBeenPopulated` to that test while leaving the `if (m_settingUp)` guard that prevents flow into that flag's only write site (`setSettingUp()`), so in this scenario `m_hasBeenPopulated` is never written and stays false for the life of the process, stranding `isFetchingUpdates()` true and leaving the page on a filled bar reading "Fetching updates…". Fix: the patch calls `setSettingUp(false)` unconditionally in the branch that stands an updater down when its backend has reported itself permanently invalid, so the flag is finally set and `fetchingChanged()` is emitted for `ResourcesUpdatesModel::refreshFetching()` to re-evaluate, which clears `isFetching` and lets the page proceed as it did before the regression. The fix could look like this (in patch form) > --- > libdiscover/resources/StandardBackendUpdater.cpp | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/libdiscover/resources/StandardBackendUpdater.cpp b/libdiscover/resources/StandardBackendUpdater.cpp > index 54f786ab1..cbcd75d1c 100644 > --- a/libdiscover/resources/StandardBackendUpdater.cpp > +++ b/libdiscover/resources/StandardBackendUpdater.cpp > @@ -175,10 +175,12 @@ void StandardBackendUpdater::refreshUpdateable() > { > if (!m_backend->isValid()) { > qWarning() << "Invalidated backend, deactivating" << m_backend->name(); > - if (m_settingUp) { > - setSettingUp(false); > + const bool wasSettingUp = m_settingUp; > + setSettingUp(false); > + if (wasSettingUp) { > Q_EMIT progressingChanged(isProgressing()); > } > + Q_EMIT fetchingChanged(); > return; > } > > -- > 2.55.0 The above is based on patching 6.7.3 6f1960f62 . You can find the original commit here https://invent.kde.org/orthogonaleety/discover/-/commit/71230e3f284ddc30d721eebe91f89064ad218d10 Now I'm not a dev, so I've used a software support approach of localisation and risk managing the limitations while working with Claude. I'm 100% satisfied with the fix for 'my issue', but I'm only 75% 'confident' in it against the entirety of this bug, and I'm 0% confident it doesn't have a side effect I haven't projected and don't understand, and can't test. - I have built it. - And tested it and it works to fix my issue when executing `plasma-discover --backends packagekit,flatpak,fwupd --mode update` (so including my problematic fwupd backend.) However, I don't have a fix written for master branch. Claude static analysis reveals the patch would cherry-pick onto master without conflict, and the logic of the fix still applies there - but it would have no effect. Master, apparently moved this state into a cache, so the fix's logic as-is would still leave a stale, still problematic state being tested. I will continue to look at developing a fix for master, satisfying myself (not just claude) that there aren't any side effects, but I'm not a dev, so no one hold their breath or wait on that. In lieu of such, I hope this is able to shortcut someone to a fix even so.
Stale commit link, here is the good one. https://invent.kde.org/orthogonaleety/discover/-/commit/89ad42afbd19e70d18a1aad1223ecb7704c32096
*** Bug 522546 has been marked as a duplicate of this bug. ***
Created attachment 195017 [details] Corrected fix for stuck 'Fetching updates' + regression test (fixes cache-not-recomputed issue in the comment 61/62 patch)
orthogonaleety's root-cause analysis in comment 61/62 (https://invent.kde.org/orthogonaleety/discover/-/commit/89ad42afbd19e70d18a1aad1223ecb7704c32096) is right, and the patch correctly calls `setSettingUp(false)` unconditionally — but it doesn't actually fix the stuck spinner: `isFetchingUpdates()` reads a *cached* value (`m_isFetchingUpdates.m_value`), which is only ever refreshed by calling `EmitWhenChanged<bool>::reevaluate()`. The patch instead emits `fetchingChanged()` directly, bypassing that recompute step entirely — so the signal fires, but `isFetchingUpdates()` still returns the same stale cached `true` afterward. `ResourcesUpdatesModel::refreshFetching()` re-reads `isFetchingUpdates()` in response to the signal and sees the same stale value. Fix: call `m_isFetchingUpdates.reevaluate()` instead (it emits `fetchingChanged()` itself, but only after actually recomputing the value): ```cpp void StandardBackendUpdater::refreshUpdateable() { if (!m_backend->isValid()) { qWarning() << "Invalidated backend, deactivating" << m_backend->name(); const bool wasSettingUp = m_settingUp; setSettingUp(false); if (wasSettingUp) { Q_EMIT progressingChanged(isProgressing()); } m_isFetchingUpdates.reevaluate(); return; } ... ``` I verified this with a regression test added to `DummyBackend` (`testFetchingClearsAfterEarlyInvalidation`, simulating a backend that invalidates before its updater ever completes setup — the same failure mode as `FwupdBackend` under a masked `fwupd.service`): - Unpatched master: FAIL — `fetchingChanged` never fires - Patch from comment 61/62: FAIL — signal fires, but `isFetchingUpdates()` is still `true` - This patch: PASS Anecdotally, on my machine (Fedora, patched build run uninstalled in its own D-Bus session alongside the installed 6.7.3 package, same PackageKit daemon and system state) the patched build showed "Up to date" where 6.7.3 stayed stuck — consistent with the above but obviously not independently checkable by anyone else. Full diff (StandardBackendUpdater.cpp fix + DummyBackend test hook + regression test) attached. Happy to open this as a proper MR if someone can point me at the right target branch, or if a maintainer wants to take it from here given the number of duplicates.
I have another case that may be relevant to this issue. I'm running Fedora KDE 44 with: * KDE Plasma 6.7.0 * Discover 6.7.0 (plasma-discover-6.7.0-1.fc44.x86_64) * Flatpak * Wayland My Flatpak remotes are configured as follows: * Flathub: system * Dolphin Emulator official remote: user The Dolphin remote was added using the command recommended by the Dolphin project: flatpak remote-add --if-not-exists --user dolphin https://flatpak.dolphin-emu.org/releases.flatpakrepo REPRODUCTION This happened twice with Dolphin Emulator. First, Discover detected an update from version 2603a to 2606, but clicking "Update All" did not update Dolphin. Other updates were installed successfully. Running "flatpak update --user" afterwards updated Dolphin successfully. Today (2026-08-11), the same issue happened again with the update from 2606 to 2606a. Discover shows: Dolphin Emulator 2606 → 2606a and also: org.DolphinEmu.dolphin_emu.Locale However, clicking "Update All" does not update Dolphin, while other available updates are installed successfully. FLATPAK STATE flatpak list --user --columns=ref,application,version,origin: org.DolphinEmu.dolphin-emu/x86_64/stable org.DolphinEmu.dolphin-emu 2606 dolphin flatpak info --user org.DolphinEmu.dolphin-emu confirms: ID: org.DolphinEmu.dolphin-emu Ref: app/org.DolphinEmu.dolphin-emu/x86_64/stable Version: 2606 Origin: dolphin Installation: user Runtime: org.kde.Platform/x86_64/6.10 The update is correctly detected by Flatpak. "flatpak update --user" offers: org.DolphinEmu.dolphin_emu.Locale org.DolphinEmu.dolphin-emu The remote contains version 2606a, with commit: 031d2c55da75e1d10a0b2991a02f06c6108b32aded8c38c7d5041e6ecfe4ebe3 Date: 2026-08-11 03:47:47 UTC DISCOVER LOG When running Discover from a terminal with "plasma-discover", the following error is repeatedly reported: org.kde.plasma.libdiscover.backend.flatpak: Failed to get parent ref "org.DolphinEmu.dolphin_emu" for subref "org.DolphinEmu.dolphin_emu.Locale" followed by: AppError: Ref app/org.DolphinEmu.dolphin_emu/x86_64/stable not installed and: RuntimeError: Ref runtime/org.DolphinEmu.dolphin_emu/x86_64/stable not installed The actual installed application ref is: app/org.DolphinEmu.dolphin-emu/x86_64/stable So Discover appears to be trying to resolve the Locale subref against org.DolphinEmu.dolphin_emu, while the installed application is org.DolphinEmu.dolphin-emu. The same error is also reported when starting Discover with: plasma-discover --backends flatpak-backend EXPECTED BEHAVIOR Discover should be able to update the Dolphin Flatpak from 2606 to 2606a, just as the Flatpak CLI does. WORKAROUND Running: flatpak update --user successfully updates Dolphin. I have not yet used the CLI update for the current 2606 → 2606a update, in order to preserve the failing state for investigation. This has now happened twice with consecutive Dolphin releases, so the issue appears reproducible with this Flatpak application.
Created attachment 195060 [details] Dolphin flatpak update via Discover
(In reply to Anthony Lee from comment #55) Feed back to the bugzilla team. I expect this to be 'spammed' as it doesn't advance the issue but I have nowhere else to leave this. >... > ## I concur that the priority of this issue should be bumped. ## > The work arounds range from obscure CLI, to the uninstallation of entire > software platforms (snap). Where the former can not be assumed to be > available to the kinds of users who place great value on a GUI, and the > latter is a high cost remedy. > ... I am still getting accustomed to managing some considerations that with Microsoft Windows are looked after for you. ** I am now decided that my above is mostly or even near entirely wrong.** I think it would have been valid, and valuable, to have (diplomatically) highlighted that this issue needs to be progressed in this way, and is often sometimes necessary, to enable development to keep moving forward. Else everything gets bogged down by needing to treat EVERY 'stable' releases as LTS, which is two different things, with different levels of burden and expectation. I think it would have been valid and fair to respond to my post above by highlighting https://community.kde.org/Schedules/Plasma_6#Long-term_support_releases . That said I would expect the next KDE plasma release designated 'stable' to have a version of Discover that does not suffer this issue. In fact I would regard it a 'blocker' to the 'Release type: stable' on the entire KDE plasma project, until met. You can validly release a 'bug' fix that does 'not' yet fix 'this' bug, but one should not surely approve such as broad 'stable' (?) .
Please do submit that patch upstream! https://invent.kde.org/plasma/discover/-/merge_requests/is the right place for it.
*** Bug 524361 has been marked as a duplicate of this bug. ***
Same! Debian 14 (Forky | Debian 13 with the 'testing' repository. Plasma 6.7.4, Frameworks: 6.28.0, Qt: 6.10.2, Kernel: 7.1.8+deb14.1-amd64 (64-bit) It started a few days after the panel and the icons started freezing immediately after boot: https://bugs.kde.org/show_bug.cgi?id=524260 If they are related in any way. Now I'm wondering how I can I apply the fix when it will come through the updates if the updates are not working in Dolphin itself and doing from the command line comes with the risk of making my whole computer unboootable again, since you don't let me to hold some pckages from Dolphin itself, when it was still working: https://bugs.kde.org/show_bug.cgi?id=523900 I will definitely not risk the ability to boot my computer by issuing: sudo apt upgrade OR: Sudo apt full-upgrade to fix Dolphin As they will just upgrade all the packages, including the ones that break GRUB. You should've let us to held packages from the Dolphin itself, nut just respecting what we are doing from the command line!
An update, or any sort of communication would be great, especially since it's been 3 months, and it seems this issue is going further downstream to more users. Can anyone working on the bug post a status update?
I have a deterministic reproducer for the fwupd-related variant of this bug on Fedora 44 / Plasma Discover 6.7.4. Environment: * Fedora 44 * Plasma / Discover 6.7.4 * fwupd 2.1.7 * Discover has these backends: fwupd, flatpak, packagekit, kns * No Snap backend is present The issue can be reproduced without actually installing any updates: 1. Start Discover normally and leave the same instance running. 2. Run: sudo systemctl stop fwupd.service 3. In the already-running Discover instance, refresh/check for updates. Discover then reports: The name is not activatable and the journal contains: plasma-discover: Fwupd Error 10 The name is not activatable I originally encountered this naturally after installing system updates. The timing in the journal was: 11:27:43 fwupd.service: Deactivated successfully. 11:27:56 PackageKit: update-packages transaction ... finished with success 11:27:56 plasma-discover: Fwupd Error 10 The name is not activatable 11:27:56 plasma-discover: Fwupd Error 10 The name is not activatable fwupd itself was not upgraded during that transaction. Importantly, fwupd D-Bus activation itself works correctly: sudo systemctl stop fwupd.service fwupdmgr get-devices `fwupdmgr get-devices` successfully starts fwupd again, and `fwupd.service` immediately becomes active. Starting a fresh Discover instance with only the fwupd backend also works: plasma-discover --backends fwupd-backend So the failure appears specifically when fwupd disappears after a Discover instance has already initialized its fwupd backend. This seems consistent with the StandardBackendUpdater invalidation/state issue described in comment 61: a backend becomes invalid while Discover remains alive, and Discover does not correctly recover/reinitialize its updater state. A temporary workaround is increasing fwupd's IdleTimeout so that fwupd does not disappear during a Discover session, but Discover should ideally tolerate the D-Bus service disappearing and becoming activatable again. The `systemctl stop fwupd` sequence may also provide a simple deterministic way to reproduce this condition for an automated regression test.
> So the failure appears specifically when fwupd disappears after a Discover instance has already initialized its fwupd backend.\ I can confirm that. Very well spotted. > but Discover should ideally tolerate the D-Bus service disappearing and becoming activatable again. Indeed.
One additional data point from a second Fedora 44 / Plasma 6.7.4 machine: I configured fwupd with: ``` [fwupd] IdleTimeout=3600 ``` and verified with verbose fwupd output that the setting is actually loaded: ``` FuConfig setting config [fwupd] IdleTimeout=3600 FuIdle setting timeout to 3600s ``` However, during a Discover session fwupd still exited after only about 9 seconds: ``` 09:33:22 fwupd 2.1.7 ready for requests 09:33:31 fwupd.service: Deactivated successfully 09:33:31 fwupd.service: Consumed 1.480s CPU time over 9.453s wall clock time ``` The PackageKit update itself subsequently completed successfully: ``` 09:34:00 update-packages transaction ... finished with success ``` and immediately afterwards Discover reported: ``` 09:34:00 plasma-discover: Fwupd Error 10 The name is not activatable 09:34:00 plasma-discover: Fwupd Error 10 The name is not activatable ``` So increasing fwupd's IdleTimeout does not prevent the condition on this second system. I do not yet know why fwupd exits there; I am investigating that separately. But this provides another example where an already-running Discover instance does not recover after the fwupd D-Bus service disappears.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/discover/-/merge_requests/1406
Git commit 51ed18c4f51a9981194e7f37ffe31532b9616ffb by Tobias Fella. Committed on 04/09/2026 at 16:30. Pushed by tfella into branch 'master'. Fix updates being stuck when fwupd is unavailable When fwupd shuts down while discover is running, dbus activation fails (due to a different bug), causing discover's updates to get stuck. To fix this, properly clean up on fwupd error cases M +4 -0 libdiscover/backends/FwupdBackend/FwupdBackend.cpp https://invent.kde.org/plasma/discover/-/commit/51ed18c4f51a9981194e7f37ffe31532b9616ffb
This is now fixed for Plasma 6.8.0. I'm looking into whether we can backport the fix to Plasma 6.7.5, or whether Fedora KDE should backport it themselves as a patch (since that seems to be the primary affected distro).
We're backporting it.
Git commit 884079c43c7646f18f7a6d8c6c171cd10e722b5e by Tobias Fella. Committed on 04/09/2026 at 16:53. Pushed by ngraham into branch 'Plasma/6.7'. Fix updates being stuck when fwupd is unavailable When fwupd shuts down while discover is running, dbus activation fails (due to a different bug), causing discover's updates to get stuck. To fix this, properly clean up on fwupd error cases (cherry picked from commit 51ed18c4f51a9981194e7f37ffe31532b9616ffb) M +4 -0 libdiscover/backends/FwupdBackend/FwupdBackend.cpp https://invent.kde.org/plasma/discover/-/commit/884079c43c7646f18f7a6d8c6c171cd10e722b5e
*** Bug 525332 has been marked as a duplicate of this bug. ***
This is what stoped updates today when it started working. Thanks SELinux is preventing snapd from create access on the directory snapd. Plugin: catchall SELinux denied access requested by snapd. It is not expected that this access is required by snapd and this access may signal an intrusion attempt. It is also possible that the specific version or configuration of the application is causing it to require additional access. If you believe that snapd should be allowed create access on the snapd directory by default. You should report this as a bug. If you are certain this access is legitimate and not an intrusion attempt, you can generate a local policy module to allow it. Custom policy modules are not supported as they may weaken the system policy and expose the system to security vulnerabilities. # ausearch -c 'snapd' --raw | audit2allow -M my-snapd # semodule -X 300 -i my-snapd.pp On 9/7/26 5:12 AM, Tobias Fella wrote: > https://bugs.kde.org/show_bug.cgi?id=521682 > > Tobias Fella <tobias.fella@kde.org> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > CC| |jonas.max.koch@proton.me > > --- Comment #81 from Tobias Fella <tobias.fella@kde.org> --- > *** Bug 525332 has been marked as a duplicate of this bug. *** >
Does Aaron's comment regarding SELinux mean that updating snaps is in effect treated as a potential security threat? This could be a distinct concern about updates, perhaps not specifically connected with the Discover/fwupd bug 521682.
Created attachment 195991 [details] attachment-3853951-0.html Yes, I think so or it is a false alarm by SElinux I do not know but it stops update in Fedora Linux I don’t know anything about SElinux. Thanks Aaron Nichols Get Outlook for iOS<https://aka.ms/o0ukef> ________________________________ From: Steve Sibelman <bugzilla_noreply@kde.org> Sent: Thursday, 10 September 2026 21:44:38 To: acejb@live.com <acejb@live.com> Subject: [Discover] [Bug 521682] Updates stuck at "Fetching updates" since update to Plasma 6.7 when fwupd daemon stops while Discover is running https://bugs.kde.org/show_bug.cgi?id=521682 --- Comment #83 from Steve Sibelman <sib@hevanet.com> --- Does Aaron's comment regarding SELinux mean that updating snaps is in effect treated as a potential security threat? This could be a distinct concern about updates, perhaps not specifically connected with the Discover/fwupd bug 521682. -- You are receiving this mail because: You are on the CC list for the bug.
(In reply to Aaron from comment #84) > Yes, I think so or it is a false alarm by SElinux I do not know but it > stops update in Fedora Linux I don’t know anything about SElinux. Thanks If updates stop working due to SELinux, then it's a Fedora / Red Hat SELinux policy bug which should be reported at https://bugzilla.redhat.com/
Created attachment 196017 [details] attachment-4007706-0.html Yes, I have already told them also. Aaron Nichols Get Outlook for iOS<https://aka.ms/o0ukef> ________________________________ From: Lyubomir <bugzilla_noreply@kde.org> Sent: Friday, 11 September 2026 06:35:19 To: acejb@live.com <acejb@live.com> Subject: [Discover] [Bug 521682] Updates stuck at "Fetching updates" since update to Plasma 6.7 when fwupd daemon stops while Discover is running https://bugs.kde.org/show_bug.cgi?id=521682 --- Comment #85 from Lyubomir <liubomirwm@gmail.com> --- (In reply to Aaron from comment #84) > Yes, I think so or it is a false alarm by SElinux I do not know but it > stops update in Fedora Linux I don’t know anything about SElinux. Thanks If updates stop working due to SELinux, then it's a Fedora / Red Hat SELinux policy bug which should be reported at https://bugzilla.redhat.com/ -- You are receiving this mail because: You are on the CC list for the bug.
Created attachment 196043 [details] attachment-90519-0.html As of today my Discover Software is back to working, as of now, it now saying "up to date" have not seen that in a while, did also tell Fedora about the issue and Fedora issued an update and after that it went back to working . Thanks for your help Below is my updated info Operating System: Fedora Linux 45 KDE Plasma Version: 6.7.5 KDE Frameworks Version: 6.30.0 Qt Version: 6.11.2 Kernel Version: 7.2.5-300.fc45.x86_64 (64-bit) Graphics Platform: Wayland Processors: 16 × Intel® Core™ i9-9900 CPU @ 3.10GHz Memory: 69 GB of RAM (67.2 GB usable) Graphics Processor 1: Intel® UHD Graphics 630 Graphics Processor 2: AMD Radeon Pro WX 2100 Manufacturer: Dell Inc. Product Name: Precision Tower 3431 On 9/11/26 6:35 AM, Lyubomir wrote: > https://bugs.kde.org/show_bug.cgi?id=521682 > > --- Comment #85 from Lyubomir<liubomirwm@gmail.com> --- > (In reply to Aaron from comment #84) >> Yes, I think so or it is a false alarm by SElinux I do not know but it >> stops update in Fedora Linux I don’t know anything about SElinux. Thanks > If updates stop working due to SELinux, then it's a Fedora / Red Hat SELinux > policy bug which should be reported athttps://bugzilla.redhat.com/ >
*** Bug 525739 has been marked as a duplicate of this bug. ***
*** Bug 512905 has been marked as a duplicate of this bug. ***
*** Bug 525651 has been marked as a duplicate of this bug. ***
Created attachment 196243 [details] attachment-2283354-0.html Yes, it is 3 days in a row working. Thanks Aaron Nichols Get Outlook for iOS<https://aka.ms/o0ukef> ________________________________ From: Nate Graham <bugzilla_noreply@kde.org> Sent: Wednesday, 16 September 2026 13:52:03 To: acejb@live.com <acejb@live.com> Subject: [Discover] [Bug 521682] Updates stuck at "Fetching updates" since update to Plasma 6.7 when fwupd daemon stops while Discover is running https://bugs.kde.org/show_bug.cgi?id=521682 Nate Graham <nate@kde.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |alexcramer@earthlink.net --- Comment #90 from Nate Graham <nate@kde.org> --- *** Bug 525651 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are on the CC list for the bug.
*** Bug 525936 has been marked as a duplicate of this bug. ***