https://bugs.kde.org/show_bug.cgi?id=522169
Bug ID: 522169
Summary: Discover 'Fetching updates' when fwupd included ;
[snapd NOT installed]
Classification: Applications
Product: Discover
Version First 6.7.0
Reported In:
Platform: Fedora RPMs
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: discover
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
BACKGROUND
Before closing or marking as duplicate please consider additional information.
My use case is that fwupd services are disabled. I have asked a question as to
whether the following is a configuration issue in such a use case, but I have
received no responses.
https://discuss.kde.org/t/discover-update-refresh-with-fwupd-disabled/48097
fwupd is disabled in the following manner
systemctl mask fwupd.service fwupd-refresh.service fwupd-refresh.timer
I have not tested if this is a key aspect to reproducing the below issue with
Discover as I cannot afford the irreversible risks of enabling firmware update
on this hardware.
Snap is not installed saving for some distro base dependencies
dnf repoquery --installed --queryformat '%{name}.%{arch} %{evr} %{reason}\n'
'snap*'
snap-confine.x86_64 2.76-0.fc44 External User
snapd-glib.x86_64 1.66-4.fc44 External User
snapd-qt.x86_64 1.66-4.fc44 External User
snapd-selinux.noarch 2.76-0.fc44 External User
snappy.x86_64 1.2.2-4.fc44 Dependency
DESCRIPTION
Performing Discover > updates > refresh in the normal manner (by launching the
application from favourites, going to updates tab, and clicking refresh, or
just on launch, then the 'Fetching updates' screen never completes, never
progressing past a full blue bar.
This only began with recent plasma-discover 6.7.0 . All other factors such as
disabled fwupd services have been in such a state for considerable time with
Discover previously working.
STEPS TO REPRODUCE
case A
1. execute `plasma-discover --backends packagekit,flatpak,fwupd --mode
update`
case B
1. execute `plasma-discover --backends packagekit,flatpak --mode update`
OBSERVED RESULT
case A (fwupd backend included)
The Discover "Fetching updates" bar fills blue. But never progresses further
than that.
EXPECTED RESULT
The Discover updaes 'refresh' should complete, with any outstanding updates
displayed for install.
As is the result currently still seen for 'case B'
SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 44
KDE Plasma Version: 6.7.0
KDE Frameworks Version: 6.27.0
Qt Version: 6.11.1
rpm -q plasma-discover: plasma-discover-6.7.0-1.fc44.x86_64
ADDITIONAL INFORMATION
I have not logged this as further comment to other similar bugs currently open
522091, 521865, 522097, 500513 as they suggested resolvable with removal of
snap back end services where snap is suggested as not a factor here.
This issue is in any case reproducible where as you can see Discover is CLI
launched with options to 'explicitely' not include snap backend.
Or other issues mark as duplicate of the above snap related reports.
Or other issues are not specific about platform and again the fwupd specific
nature of this fault.
This issue targets the case of fwupd as a key factor where not the case for the
other issues.
Personally I am inclined to think that whatever is causing Discover's
sensitivity to snap, is also causing Discover's sensitivity to fwupd, and that
while the state of those backend might not be ideal, it may be a reasonable
expectation that Discover is able to cope gracefully with any problems there,
and that what is more it used to, and this implies that this remains Discover's
'intention' and that this is therefore a bug.
For completeness sake this is the console output from during the failed
refresh, however it doesn't really show anything too conclusive as to the
cause, as compared with a successful run below it.
plasma-discover --backends packagekit,flatpak,fwupd --mode update
org.kde.plasma.libdiscover: OdrsReviewsBackend: Fetch ratings: false
adding empty sources model QStandardItemModel(0x56075371b850)
Fwupd Error 10 unit is masked
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
Invalidated backend, deactivating "fwupd-backend"
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")
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")
org.kde.plasma.libdiscover.backend.flatpak: Failed to get parent ref
"io.gitlab.librewolf_community" for subref
"io.gitlab.librewolf_community.Locale"
AppError: Ref app/io.gitlab.librewolf_community/x86_64/stable not installed
RuntimeError: Ref runtime/io.gitlab.librewolf_community/x86_64/stable not
installed
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")
And this is from a successfull
plasma-discover --backends packagekit,flatpak --mode update
org.kde.plasma.libdiscover: OdrsReviewsBackend: Fetch ratings: false
adding empty sources model QStandardItemModel(0x561d7677f5d0)
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
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")
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")
org.kde.plasma.libdiscover.backend.flatpak: Failed to get parent ref
"io.gitlab.librewolf_community" for subref
"io.gitlab.librewolf_community.Locale"
AppError: Ref app/io.gitlab.librewolf_community/x86_64/stable not installed
RuntimeError: Ref runtime/io.gitlab.librewolf_community/x86_64/stable not
installed
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")
--
You are receiving this mail because:
You are watching all bug changes.