After disabling Fedora Flatpaks repo, a confusing "Enable third-party repo?" dialog is shown even when installing a Fedora RPM
Fedora 37
gnome-software-43.0-4.fc37.x86_64
gnome-software-43.1-1.fc37.x86_64 (affects both)
In Fedora 37, RPM repos and a Flatpak repo is enabled by default. When I disable the Fedora Flatpaks repo, I get this confusing dialog when I try to install a Fedora RPM package:
There are several problems with it:
- The dialog shouldn't be shown (Fedora RPM repos are enabled)
- The dialog says "Third-party" when it is the official repo provided by the distribution
- The dialog says "Fedora Linux (RPM)", but none of the RPM repos provided by default is called exactly this.
The result is that this is very confusing for the end user.
Confirming this dialog doesn't seem to have any effect on system repos (the Fedora Flatpaks repo is not enabled, and no RPM repo seems to be touched), but it allows to perform the installation. After the app is installed, if I uninstall it, this dialog doesn't appear again for this particular app. But it appears again for a different app (!).
It looks this problem affects apps belonging to a certain category (e.g. apps on the Explore page, apps in Create/Play/etc category, etc). I haven't seen this problem for just a random app that I searched for manually. Also, it seems only certain categories get affected (I tested in two different virtual machines, apps from different categories were affected).
This is just a temporary issue, after system reboot, the problem seems to be gone.
Reproducer:
- Install Fedora 37 Workstation
- In Software -> Repositories, disable Fedora Flatpaks
- Wait a few seconds for an app refresh
- On the Explore page, open random apps and see that Install button is changed to Install... button. After clicking on it, the aforementioned dialog is shown.
- Traverse different categories and open apps. Apps in some categories are affected, in others are not. Possibly a race condition of some sorts?
Here's a screencast:
I'm happy to provide verbose logs, but I'm a bit short on time at the moment, please tell me if you need them.