SUMMARY Discover shows packages from disabled pacman repos without any message noting this. Good example would be Steam being listed when the multilib repo (arch 32 bit packages) isn't enabled. STEPS TO REPRODUCE 1. Disable a pacman repo, or use a system where one is already disabled, refresh package lists via pacman -Sy if needed. (disable multilib for this example, but works with other repos) 2. Open discover and find a package that is only on the disabled repo (search for Steam in this example) 3. Observe as the download button is stuck on "Loading..." OBSERVED RESULT The download button says "Loading..." and is unable to be clicked EXPECTED RESULT The download button states that multilib must be enabled in order to download the package, or a message appears when clicking on it SOFTWARE/OS VERSIONS Linux/KDE Plasma: (available in About System) KDE Plasma Version: 5.26.3 KDE Frameworks Version: 5.100.0 Qt Version: 5.15.7
I know why it happens, not sure how to address this. Maybe we could make sure that when "appstreamcli refresh" happens, appstream knows which components are disabled? Then it would be a matter of refreshing the appstream database when the repos change. Adding Antonio from ArchLinux and Matthias from AppStream, for ideas.
It would be good to still show these apps in Discover with a warning that they are from a disabled repo (that is how one would "discover" apps after all). But I don't know if it is at all possible to distinguish this case from the case of an app which is removed from the repos and is still present in the appstream data (which is perfectly possible since the appstream data is only updated ~once a month)
This issue might be the same as https://github.com/PackageKit/PackageKit/issues/573
(In reply to Matthias K. from comment #3) > This issue might be the same as > https://github.com/PackageKit/PackageKit/issues/573 Not really, I'm pretty sure that is just a duplicate of https://github.com/PackageKit/PackageKit/issues/533