I encountered an issue while trying to install any app from Discover on my Fedora KDE system but in the terminal everything is fine. The error says “Package not found,” as shown in the attached screenshot. I tried refreshing the repositories and running sudo dnf update, but the issue persists.
Here are the steps I took before encountering the error:
Opened Discover.
Searched for the “Disks” application (part of the GNOME Project).
Clicked on “Install from Fedora Linux,” but got the “Package not found” error.
Things I’ve already tried:
Ensured my repositories are up to date (sudo dnf update).
Checked if the required repos are enabled (sudo dnf repolist).
Cleared and refreshed my DNF cache (sudo dnf clean all and sudo dnf makecache).
Any suggestions on how I can fix this issue? Could it be related to the repositories or some mirror issue?
However, dnf is also used on the cli for updates and installation.
Dnf does not use the same cache for package metadata as packagekit and the Discover gui is really unlikely to assist since disks is a gnome app and not a kde app. Dnf should be able to install disks (command /usr/bin/gnome-disks) since the package name is gnome-disk-utility and it would be installed with dnf install gnome-disk-utility
True, but I have no idea what packages Discover finds by default when compared to Gnome-Software. In gnome software I see very few kde packages and this is why I made the comment
It seems likely to me that Discover will not provide many of the gnome specific apps such as gnome-disks
In fact I have not found Discover (a kde specific app) in the gnome software manager which also uses packagekit.