Hello everyone! I just encountered an issue. I updated my system using dnf distrosync and now KDE Discover doesn’t work. I have PackageKit-Qt6 installed with version 1.1 (even though the current version of Discover was built against PackageKit version 1.3) and PackageKit version 1.3, which causes Discover to crash. What do I do?
Have you tried sudo dnf upgrade --refresh ?
Yes, I have indeed tried the command “sudo dnf upgrade --refesh”. However, despite KDE Discover 6.6 being built against PackageKit 1.3, PackageKit-Qt6, the latest availible version of PackageKit-Qt6 is 1.1.1-2, which seems to cause issues
What happens when it crashes, and are there any logs?
I don’t use Discover very much, but I think have the same package versions installed as you, and for me it doesn’t seem to crash.
PackageKit.x86_64 1.3.4-1.fc43 updates
PackageKit-Qt6.x86_64 1.1.4-2.fc43 updates
plasma-discover.x86_64 6.6.3-1.fc43 updates
here are the error messages plasma-discover throws:
QThreadStorage: entry 2 destroyed before end of thread 0x55ec3e567b30
QThreadStorage: entry 1 destroyed before end of thread 0x55ec3e567b30
I see - I don’t get that, so I wonder what is causing the difference between my system and yours.
PackageKit still uses dnf4 so you might test like:
sudo dnf4 upgrade --refresh
Try to downgrade it.
Actually, wait.
We both have PackageKit-Qt6 1.1, but mine is 1.1 .4-2 which is ahead of your 1.1 .1-2.
Like @ilikelinux said, try to upgrade with --refresh and see if you get the latest package.
Downgrading to the common version of 1.1 did fix the issue. Thanks!
According to dnf PackageKit-Qt6 is not available in version 1.1.1-2 for fedora 43.
I am not using KDE so do not have that package, but this is shown for what is available. It appears that PackageKit-Qt6 version 1.1.1-2 has never been part of Fedora 43.
$ sudo dnf install PackageKit-Qt6 --allowerasing --disablerepo updates*
Updating and loading repositories:
Repositories loaded.
Package Arch Version Repository Size
Installing:
PackageKit-Qt6 x86_64 1.1.2-2.fc43 fedora 396.1 KiB
Transaction Summary:
Installing: 1 package
Total size of inbound packages is 130 KiB. Need to download 130 KiB.
After this operation, 396 KiB extra will be used (install 396 KiB, remove 0 B).
Is this ok [y/N]:
Operation aborted by the user.
$ dnf list PackageKit*
Updating and loading repositories:
Repositories loaded.
Installed packages
PackageKit.x86_64 1.3.4-1.fc43 updates
PackageKit-command-not-found.x86_64 1.3.4-1.fc43 updates
PackageKit-glib.x86_64 1.3.4-1.fc43 updates
PackageKit-gstreamer-plugin.x86_64 1.3.4-1.fc43 updates
PackageKit-gtk3-module.x86_64 1.3.4-1.fc43 updates
Available packages
PackageKit-Qt5.i686 1.1.2-3.fc43 updates
PackageKit-Qt5.x86_64 1.1.2-3.fc43 updates
PackageKit-Qt5.x86_64 1.1.2-3.fc43 updates-archive
PackageKit-Qt5-devel.i686 1.1.2-3.fc43 updates
PackageKit-Qt5-devel.x86_64 1.1.2-3.fc43 updates
PackageKit-Qt5-devel.x86_64 1.1.2-3.fc43 updates-archive
PackageKit-Qt6.i686 1.1.4-2.fc43 updates
PackageKit-Qt6.x86_64 1.1.4-2.fc43 updates-archive
PackageKit-Qt6.x86_64 1.1.4-2.fc43 updates
PackageKit-Qt6-devel.i686 1.1.4-2.fc43 updates
PackageKit-Qt6-devel.x86_64 1.1.4-2.fc43 updates
PackageKit-Qt6-devel.x86_64 1.1.4-2.fc43 updates-archive
PackageKit-backend-dnf5.x86_64 1.3.4-1.fc43 updates
PackageKit-backend-dnf5.x86_64 1.3.4-1.fc43 updates-archive
PackageKit-cron.x86_64 1.3.4-1.fc43 updates
PackageKit-cron.x86_64 1.3.4-1.fc43 updates-archive
PackageKit-devel.i686 1.3.4-1.fc43 updates
PackageKit-devel.x86_64 1.3.4-1.fc43 updates
PackageKit-devel.x86_64 1.3.4-1.fc43 updates-archive
PackageKit-glib.i686 1.3.4-1.fc43 updates
PackageKit-glib-devel.i686 1.3.4-1.fc43 updates
PackageKit-glib-devel.x86_64 1.3.4-1.fc43 updates
PackageKit-glib-devel.x86_64 1.3.4-1.fc43 updates-archive
PackageKit-gstreamer-plugin.i686 1.3.4-1.fc43 updates
PackageKit-gtk3-module.i686 1.3.4-1.fc43 updates