Bug 521682 - Updates stuck at "Fetching updates" since update to Plasma 6.7 when fwupd daemon stops while Discover is running
Summary: Updates stuck at "Fetching updates" since update to Plasma 6.7 when fwupd dae...
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: Updates (other bugs)
Version First Reported In: 6.7.0
Platform: Fedora RPMs Linux
: VHI major
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: regression
: 512905 521762 521865 521885 521905 521967 521975 522025 522091 522097 522107 522128 522143 522169 522187 522263 522352 522431 524361 525332 525739 525936 (view as bug list)
Depends on:
Blocks:
 
Reported: 2026-06-18 20:39 UTC by cerealkilla123
Modified: 2026-09-19 15:51 UTC (History)
50 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.7.5
Sentry Crash Report:


Attachments
Screenshot of encountered behaviour. (79.95 KB, image/png)
2026-06-18 20:39 UTC, cerealkilla123
Details
attachment-3427259-0.html (948 bytes, text/html)
2026-06-26 19:18 UTC, marcmcleggon
Details
Corrected fix for stuck 'Fetching updates' + regression test (fixes cache-not-recomputed issue in the comment 61/62 patch) (3.19 KB, patch)
2026-08-09 19:28 UTC, Dolphin Whisperer
Details
Dolphin flatpak update via Discover (45.35 KB, image/png)
2026-08-11 09:53 UTC, corrigo
Details
attachment-3853951-0.html (2.44 KB, text/html)
2026-09-11 10:34 UTC, Aaron Nichols
Details
attachment-4007706-0.html (2.47 KB, text/html)
2026-09-11 20:15 UTC, Aaron Nichols
Details
attachment-90519-0.html (2.12 KB, text/html)
2026-09-12 13:31 UTC, Aaron Nichols
Details
attachment-2283354-0.html (2.76 KB, text/html)
2026-09-16 20:20 UTC, Aaron Nichols
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cerealkilla123 2026-06-18 20:39:51 UTC
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
Comment 1 npbndl59 2026-06-19 20:59:42 UTC
Having the same issue, my screenshot looks identical would be redundant to upload.
Comment 2 julien_palmieri 2026-06-20 12:28:02 UTC
Same here - I tried to update manually, but that was not a good idea. any workaround to unstuck discover?
Comment 3 kde.outwit851 2026-06-20 20:24:17 UTC
+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
Comment 4 Ty 2026-06-21 03:25:11 UTC
Same here. Have to use dnf until there is a resolution. I wonder if it's specific to Fedora?
Comment 5 jz5678910 2026-06-21 03:45:16 UTC
https://bugs.kde.org/show_bug.cgi?id=500513

Check out this thread for the current work-around.

Appears to be related to snaps
Comment 6 npbndl59 2026-06-21 14:29:54 UTC
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.
Comment 7 Ty 2026-06-21 17:07:24 UTC
(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.
Comment 8 Ty 2026-06-24 13:15:23 UTC
An update for PackageKit was released today, doesn't resolve the issue though. Still reliant on CLI for updates.
Comment 9 TraceyC 2026-06-25 23:25:54 UTC
*** Bug 522187 has been marked as a duplicate of this bug. ***
Comment 10 TraceyC 2026-06-25 23:29:58 UTC
*** Bug 521865 has been marked as a duplicate of this bug. ***
Comment 11 TraceyC 2026-06-25 23:31:14 UTC
*** Bug 522091 has been marked as a duplicate of this bug. ***
Comment 12 TraceyC 2026-06-25 23:31:44 UTC
*** Bug 522097 has been marked as a duplicate of this bug. ***
Comment 13 TraceyC 2026-06-25 23:33:23 UTC
*** Bug 522107 has been marked as a duplicate of this bug. ***
Comment 14 TraceyC 2026-06-25 23:34:04 UTC
*** Bug 522128 has been marked as a duplicate of this bug. ***
Comment 15 TraceyC 2026-06-25 23:34:29 UTC
*** Bug 522143 has been marked as a duplicate of this bug. ***
Comment 16 TraceyC 2026-06-25 23:43:14 UTC
*** Bug 522169 has been marked as a duplicate of this bug. ***
Comment 17 TraceyC 2026-06-25 23:44:20 UTC
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
Comment 18 npbndl59 2026-06-26 01:29:58 UTC Comment hidden (spam)
Comment 19 Anthony Lee 2026-06-26 08:52:01 UTC
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)
Comment 20 Nate Graham 2026-06-26 13:42:41 UTC
I don't encounter this on KDE Linux; it's likely in the PackageKit backend, or an interaction between it and another backend.
Comment 21 Steve Sibelman 2026-06-26 14:48:16 UTC Comment hidden (spam)
Comment 22 TraceyC 2026-06-26 16:01:11 UTC
*** Bug 522025 has been marked as a duplicate of this bug. ***
Comment 23 TraceyC 2026-06-26 16:01:20 UTC
*** Bug 521967 has been marked as a duplicate of this bug. ***
Comment 24 TraceyC 2026-06-26 16:01:27 UTC
*** Bug 521975 has been marked as a duplicate of this bug. ***
Comment 25 TraceyC 2026-06-26 16:01:35 UTC
*** Bug 521905 has been marked as a duplicate of this bug. ***
Comment 26 TraceyC 2026-06-26 16:01:43 UTC
*** Bug 521885 has been marked as a duplicate of this bug. ***
Comment 27 TraceyC 2026-06-26 16:01:50 UTC
*** Bug 521762 has been marked as a duplicate of this bug. ***
Comment 28 TraceyC 2026-06-26 16:04:19 UTC
(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.
Comment 29 Adam 2026-06-26 19:14:22 UTC Comment hidden (spam)
Comment 30 marcmcleggon 2026-06-26 19:18:37 UTC
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.
>
Comment 31 Anthony Lee 2026-06-26 20:14:22 UTC
(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.
Comment 32 cerealkilla123 2026-06-26 20:37:26 UTC Comment hidden (spam)
Comment 33 RubyRose 2026-06-27 01:23:07 UTC Comment hidden (spam)
Comment 34 Nabeel 2026-06-27 04:56:13 UTC Comment hidden (spam)
Comment 35 Nate Graham 2026-06-27 12:17:57 UTC
*** Bug 522263 has been marked as a duplicate of this bug. ***
Comment 36 Nate Graham 2026-06-27 12:18:55 UTC
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.
Comment 37 Jan Galek 2026-06-27 12:34:42 UTC
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
Comment 38 Alfred 2026-06-27 12:59:57 UTC Comment hidden (spam)
Comment 39 Nabeel 2026-06-27 13:37:18 UTC Comment hidden (spam)
Comment 40 Nabeel 2026-06-27 13:56:47 UTC Comment hidden (spam)
Comment 41 Jan Galek 2026-06-27 14:58:53 UTC Comment hidden (spam)
Comment 42 Ty 2026-06-27 17:08:11 UTC Comment hidden (spam)
Comment 43 Nabeel 2026-06-27 18:06:07 UTC Comment hidden (spam)
Comment 44 ExoticApple57 2026-06-27 22:23:16 UTC Comment hidden (spam)
Comment 45 ExoticApple57 2026-06-27 22:32:42 UTC Comment hidden (spam)
Comment 46 Nabeel 2026-06-27 23:47:47 UTC Comment hidden (spam)
Comment 47 Nate Graham 2026-06-29 13:18:27 UTC
*** Bug 522352 has been marked as a duplicate of this bug. ***
Comment 48 Nate Graham 2026-06-30 16:11:32 UTC
*** Bug 522431 has been marked as a duplicate of this bug. ***
Comment 49 Wolfgang Reh 2026-07-01 16:49:52 UTC
Same here, screen-shot would show the same output just in German.
Comment 50 Ty 2026-07-06 05:31:11 UTC Comment hidden (spam)
Comment 51 Ty 2026-07-06 05:36:39 UTC Comment hidden (spam)
Comment 52 Nabeel 2026-07-06 05:57:02 UTC
(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.
Comment 53 Adam 2026-07-06 07:26:01 UTC Comment hidden (spam)
Comment 54 jz5678910 2026-07-06 08:53:24 UTC Comment hidden (spam)
Comment 55 Anthony Lee 2026-07-06 10:27:15 UTC Comment hidden (spam)
Comment 56 Nate Graham 2026-07-06 13:01:04 UTC
All of you who are discussing Snap, your bug report is Bug 500513. This is about the case where Snap support is NOT enabled.
Comment 57 Nate Graham 2026-07-06 13:04:32 UTC
(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.
Comment 58 Nabeel 2026-07-06 14:31:07 UTC
(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.
Comment 59 Nate Graham 2026-07-06 15:04:43 UTC
(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.
Comment 60 Anthony Lee 2026-07-20 21:27:03 UTC
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.
Comment 61 Anthony Lee 2026-07-22 21:00:25 UTC
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.
Comment 62 Anthony Lee 2026-07-22 21:05:04 UTC
Stale commit link, here is the good one.
https://invent.kde.org/orthogonaleety/discover/-/commit/89ad42afbd19e70d18a1aad1223ecb7704c32096
Comment 63 Michael Rostom 2026-08-08 13:55:14 UTC
*** Bug 522546 has been marked as a duplicate of this bug. ***
Comment 64 Dolphin Whisperer 2026-08-09 19:28:11 UTC
Created attachment 195017 [details]
Corrected fix for stuck 'Fetching updates' + regression test (fixes cache-not-recomputed issue in the comment 61/62 patch)
Comment 65 Dolphin Whisperer 2026-08-09 19:29:05 UTC
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.
Comment 66 corrigo 2026-08-11 09:50:09 UTC
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.
Comment 67 corrigo 2026-08-11 09:53:27 UTC
Created attachment 195060 [details]
Dolphin flatpak update via Discover
Comment 68 Anthony Lee 2026-08-16 09:09:00 UTC
(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' (?) .
Comment 69 Nate Graham 2026-08-19 20:23:07 UTC
Please do submit that patch upstream! https://invent.kde.org/plasma/discover/-/merge_requests/is the right place for it.
Comment 70 TraceyC 2026-08-26 17:54:41 UTC
*** Bug 524361 has been marked as a duplicate of this bug. ***
Comment 71 John 2026-08-28 12:53:00 UTC
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!
Comment 72 Nabeel 2026-08-28 17:18:16 UTC
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?
Comment 73 noreply 2026-09-01 11:10:08 UTC
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.
Comment 74 Nate Graham 2026-09-02 00:04:29 UTC
> 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.
Comment 75 noreply 2026-09-02 07:53:54 UTC
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.
Comment 76 Bug Janitor Service 2026-09-02 10:43:33 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/discover/-/merge_requests/1406
Comment 77 Tobias Fella 2026-09-04 16:30:23 UTC
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
Comment 78 Nate Graham 2026-09-04 16:53:09 UTC
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).
Comment 79 Nate Graham 2026-09-04 16:57:02 UTC
We're backporting it.
Comment 80 Tobias Fella 2026-09-04 17:14:28 UTC
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
Comment 81 Tobias Fella 2026-09-07 10:12:20 UTC
*** Bug 525332 has been marked as a duplicate of this bug. ***
Comment 82 Aaron Nichols 2026-09-10 23:34:57 UTC
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. ***
>
Comment 83 Steve Sibelman 2026-09-11 02:44:38 UTC
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.
Comment 84 Aaron Nichols 2026-09-11 10:34:27 UTC
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.
Comment 85 Lyubomir 2026-09-11 11:35:19 UTC
(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/
Comment 86 Aaron Nichols 2026-09-11 20:15:44 UTC
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.
Comment 87 Aaron Nichols 2026-09-12 13:31:29 UTC
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/
>
Comment 88 Tobias Fella 2026-09-15 14:17:38 UTC
*** Bug 525739 has been marked as a duplicate of this bug. ***
Comment 89 Tobias Fella 2026-09-15 14:41:15 UTC
*** Bug 512905 has been marked as a duplicate of this bug. ***
Comment 90 Nate Graham 2026-09-16 18:52:03 UTC
*** Bug 525651 has been marked as a duplicate of this bug. ***
Comment 91 Aaron Nichols 2026-09-16 20:20:28 UTC
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.
Comment 92 Tobias Fella 2026-09-19 14:24:04 UTC
*** Bug 525936 has been marked as a duplicate of this bug. ***