Bug 490473 - Discover won't install packages from Arch repos
Summary: Discover won't install packages from Arch repos
Status: RESOLVED NOT A BUG
Alias: None
Product: Discover
Classification: Applications
Component: PackageKit (other bugs)
Version First Reported In: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-18 21:20 UTC by 3era427
Modified: 2024-07-23 11:34 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 3era427 2024-07-18 21:20:11 UTC
SUMMARY
Discover can't install packages from Arch Linux repos. No updates for system packages are available in the "Updates" section as well.

STEPS TO REPRODUCE
1. Launch Discover
2. Open an arch linux package
3. Try to install

OBSERVED RESULT
I'm instantly met with "couldn't find package". Also when opening a page of arch package a prompt appears "kdenlive;24.05.2-1;x86_64;extra: couldn't find or read package"(kdenlive is just an example).

EXPECTED RESULT
A package just installs successfully.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux x86_64
(available in About System)
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
CPU: Intel i5-10400F (12) @ 4.300GHz
Host: H410M H
GPU: NVIDIA GeForce GTX 1650
Memory: 15923MiB
Kernel: 6.9.9-arch1-1

ADDITIONAL INFORMATION

Discover log:
plasma-discover
libs QList("/usr/lib/qt6/plugins", "/usr/bin")
org.kde.plasma.libdiscover: OdrsReviewsBackend: Fetch ratings: false
adding empty sources model QStandardItemModel(0x5c556237ede0)
qrc:/qt/qml/org/kde/discover/qml/DiscoverWindow.qml:330:5: QML OverlaySheet: Binding loop detected for property "implicitHeight"
qrc:/qt/qml/org/kde/discover/qml/BrowsingPage.qml:17:1: QML BrowsingPage: Created graphical object was not placed in the graphics scene.
PackageKitBackend: No distro component found for "org.archlinux.arch"
AppStreamIntegration: No distro component found for "org.archlinux.arch"
kf.purpose.externalprocess: Cannot initialize model for plugin type "ShareUrl" with data QJsonObject(): missing key "urls"
qrc:/qt/qml/org/kde/discover/qml/ApplicationPage.qml:19:1: QML ApplicationPage: Created graphical object was not placed in the graphics scene.
qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:400:33: QML Binding: Binding loop detected for property "value"
qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:344:18: QML ScrollView: Binding loop detected for property "calculatedImplicitHeight"
qrc:/qt/qml/org/kde/discover/qml/ApplicationPage.qml:843:5: QML AddonsView: Binding loop detected for property "implicitHeight"
qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:344:18: QML ScrollView: Binding loop detected for property "calculatedImplicitHeight"
qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:344:18: QML ScrollView: Binding loop detected for property "calculatedImplicitHeight"
qrc:/qt/qml/org/kde/discover/qml/ReviewsPage.qml:45:5: Unable to assign [undefined] to QFlags<QPlatformDialogHelper::StandardButton>
qrc:/qt/qml/org/kde/kirigami/private/PrivateActionToolButton.qml:70:5: QML Binding: Binding loop detected for property "value"
Transaction error: "kdenlive;24.05.2-1;x86_64;extra: не удалось найти или прочитать пакет" PackageKit::Transaction(0x5c5565474750)
PackageKitBackend: Error fetching updates: PackageKit::Transaction::ErrorPackageNotFound "kdenlive;24.05.2-1;x86_64;extra: не удалось найти или прочитать пакет"
qrc:/qt/qml/org/kde/discover/qml/DiscoverWindow.qml:330:5: QML OverlaySheet: Binding loop detected for property "implicitHeight"
qrc:/qt/qml/org/kde/discover/qml/DiscoverWindow.qml:330:5: QML OverlaySheet: Binding loop detected for property "implicitHeight"
org.kde.plasma.libdiscover.backend.packagekit: percentage cannot be calculated
org.kde.plasma.libdiscover.backend.packagekit: percentage cannot be calculated
org.kde.plasma.libdiscover.backend.packagekit: percentage cannot be calculated
org.kde.plasma.libdiscover.backend.packagekit: percentage cannot be calculated
org.kde.plasma.libdiscover.backend.packagekit: percentage cannot be calculated
org.kde.plasma.libdiscover.backend.packagekit: percentage cannot be calculated
org.kde.plasma.libdiscover.backend.packagekit: percentage cannot be calculated
org.kde.plasma.libdiscover.backend.packagekit: percentage cannot be calculated
org.kde.plasma.libdiscover.backend.packagekit: percentage cannot be calculated
org.kde.plasma.libdiscover.backend.packagekit: percentage cannot be calculated
org.kde.plasma.libdiscover.backend.packagekit: percentage cannot be calculated
org.kde.plasma.libdiscover.backend.packagekit: percentage cannot be calculated
org.kde.plasma.libdiscover.backend.packagekit: percentage cannot be calculated
org.kde.plasma.libdiscover.backend.packagekit: percentage cannot be calculated
org.kde.plasma.libdiscover.backend.packagekit: percentage cannot be calculated
org.kde.plasma.libdiscover.backend.packagekit: percentage cannot be calculated
org.kde.plasma.libdiscover.backend.packagekit: percentage cannot be calculated
PackageKit error: PackageKit::Transaction::ErrorPackageDownloadFailed "Не удалось загрузить пакет." "ошибка в библиотеке загрузки"
qrc:/qt/qml/org/kde/discover/qml/DiscoverWindow.qml:330:5: QML OverlaySheet: Binding loop detected for property "implicitHeight"
Comment 1 3era427 2024-07-18 21:33:02 UTC
Here's the log in English:
libs QList("/usr/lib/qt6/plugins", "/usr/bin")
org.kde.plasma.libdiscover: OdrsReviewsBackend: Fetch ratings: false
adding empty sources model QStandardItemModel(0x6405c1916030)
qrc:/qt/qml/org/kde/discover/qml/DiscoverWindow.qml:330:5: QML OverlaySheet: Binding loop detected for property "implicitHeight"
qrc:/qt/qml/org/kde/discover/qml/BrowsingPage.qml:17:1: QML BrowsingPage: Created graphical object was not placed in the graphics scene.
PackageKitBackend: No distro component found for "org.archlinux.arch"
AppStreamIntegration: No distro component found for "org.archlinux.arch"
**
OSTree:ERROR:./libglnx/glnx-local-alloc.h:71:glnx_close_fd: assertion failed: (errno != EBADF)
Bail out! OSTree:ERROR:./libglnx/glnx-local-alloc.h:71:glnx_close_fd: assertion failed: (errno != EBADF)
KCrash: Application 'plasma-discover' crashing... crashRecursionCounter = 2
Аварийный останов (образ памяти сброшен на диск)
[doggy@temple-of-the-dog ~]$ plasma-discover
libs QList("/usr/lib/qt6/plugins", "/usr/bin")
org.kde.plasma.libdiscover: OdrsReviewsBackend: Fetch ratings: false
adding empty sources model QStandardItemModel(0x56b8cf51c2f0)
qrc:/qt/qml/org/kde/discover/qml/DiscoverWindow.qml:330:5: QML OverlaySheet: Binding loop detected for property "implicitHeight"
qrc:/qt/qml/org/kde/discover/qml/BrowsingPage.qml:17:1: QML BrowsingPage: Created graphical object was not placed in the graphics scene.
PackageKitBackend: No distro component found for "org.archlinux.arch"
AppStreamIntegration: No distro component found for "org.archlinux.arch"
kf.purpose.externalprocess: Cannot initialize model for plugin type "ShareUrl" with data QJsonObject(): missing key "urls"
qrc:/qt/qml/org/kde/discover/qml/ApplicationPage.qml:19:1: QML ApplicationPage: Created graphical object was not placed in the graphics scene.
qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:400:33: QML Binding: Binding loop detected for property "value"
qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:344:18: QML ScrollView: Binding loop detected for property "calculatedImplicitHeight"
qrc:/qt/qml/org/kde/discover/qml/ApplicationPage.qml:843:5: QML AddonsView: Binding loop detected for property "implicitHeight"
qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:344:18: QML ScrollView: Binding loop detected for property "calculatedImplicitHeight"
qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:344:18: QML ScrollView: Binding loop detected for property "calculatedImplicitHeight"
qrc:/qt/qml/org/kde/discover/qml/ReviewsPage.qml:45:5: Unable to assign [undefined] to QFlags<QPlatformDialogHelper::StandardButton>
qrc:/qt/qml/org/kde/kirigami/private/PrivateActionToolButton.qml:70:5: QML Binding: Binding loop detected for property "value"
Transaction error: "kdenlive;24.05.2-1;x86_64;extra: could not find or read package" PackageKit::Transaction(0x56b8d254a650)
PackageKitBackend: Error fetching updates: PackageKit::Transaction::ErrorPackageNotFound "kdenlive;24.05.2-1;x86_64;extra: could not find or read package"
qrc:/qt/qml/org/kde/discover/qml/DiscoverWindow.qml:330:5: QML OverlaySheet: Binding loop detected for property "implicitHeight"
qrc:/qt/qml/org/kde/discover/qml/DiscoverWindow.qml:330:5: QML OverlaySheet: Binding loop detected for property "implicitHeight"
qrc:/qt/qml/org/kde/discover/qml/DiscoverWindow.qml:330:5: QML OverlaySheet: Binding loop detected for property "implicitHeight"
org.kde.plasma.libdiscover.backend.packagekit: percentage cannot be calculated
org.kde.plasma.libdiscover.backend.packagekit: percentage cannot be calculated
org.kde.plasma.libdiscover.backend.packagekit: percentage cannot be calculated
org.kde.plasma.libdiscover.backend.packagekit: percentage cannot be calculated
org.kde.plasma.libdiscover.backend.packagekit: percentage cannot be calculated
org.kde.plasma.libdiscover.backend.packagekit: percentage cannot be calculated
org.kde.plasma.libdiscover.backend.packagekit: percentage cannot be calculated
org.kde.plasma.libdiscover.backend.packagekit: percentage cannot be calculated
org.kde.plasma.libdiscover.backend.packagekit: percentage cannot be calculated
org.kde.plasma.libdiscover.backend.packagekit: percentage cannot be calculated
org.kde.plasma.libdiscover.backend.packagekit: percentage cannot be calculated
org.kde.plasma.libdiscover.backend.packagekit: percentage cannot be calculated
org.kde.plasma.libdiscover.backend.packagekit: percentage cannot be calculated
org.kde.plasma.libdiscover.backend.packagekit: percentage cannot be calculated
org.kde.plasma.libdiscover.backend.packagekit: percentage cannot be calculated
org.kde.plasma.libdiscover.backend.packagekit: percentage cannot be calculated
org.kde.plasma.libdiscover.backend.packagekit: percentage cannot be calculated
PackageKit error: PackageKit::Transaction::ErrorPackageDownloadFailed "Package download failed" "download library error"
qrc:/qt/qml/org/kde/discover/qml/DiscoverWindow.qml:330:5: QML OverlaySheet: Binding loop detected for property "implicitHeight"

The error messages included in "Observed result" section are badly translated too, they say "Package download failed" and "kdenlive;24.05.2-1;x86_64;extra: could not find or read package" respectively
Comment 2 Paul Worrall 2024-07-19 14:13:43 UTC
Have you installed packagekit-qt6? Also, worth reading the warning at:
https://wiki.archlinux.org/title/KDE#Discover_does_not_show_any_applications
Comment 3 3era427 2024-07-19 14:39:10 UTC
(In reply to Paul Worrall from comment #2)
> Have you installed packagekit-qt6? Also, worth reading the warning at:
> https://wiki.archlinux.org/title/KDE#Discover_does_not_show_any_applications

I have, of course. And yeah, I know this isn't the way to deal with system packages and stuff, but the bug is still in place.
Comment 4 Antonio Rojas 2024-07-19 14:56:43 UTC
Does running pkcon directly work?
Comment 5 3era427 2024-07-19 15:44:45 UTC
(In reply to Antonio Rojas from comment #4)
> Does running pkcon directly work?

Not really. It successfully uninstalled yt-dlp, but couldn't install it back:
$ pkcon -v install yt-dlp
18:42:42        PackageKit          Verbose debugging enabled (on console 1)
18:42:42        PackageKit          role now resolve
Resolving                               [                         ] (0%)  18:42:42      PackageKit          adding state 0x5630b10b73e0
18:42:42        PackageKit          doing install
18:42:42        PackageKit          role now install-packages
                                        [=========================]         
Querying                                [                         ] (0%)  18:42:42      PackageKit          notify::connected
18:42:42        PackageKit          skipping as the same
                                        [=========================]         
Testing changes                         [          ==             ]         18:42:43    PackageKit          notify::connected
The daemon crashed mid-transaction!
                                        [=========================]         
Finished                                [                         ] (0%)  18:42:43      PackageKit          remove state 0x5630b10b73e0
Comment 6 Harald Sitter 2024-07-23 11:34:07 UTC
Packagekit on arch is not supported. 6.2 will present a UI warning about this.