On Fedora Workstation 40, unable to uninstall Firefox. On the GNOME Activities view (same from pin icon), when i right click on Firefox Icon and selecting "Show details" opens GNOME Software but i only have "Install" button (no "Open" button and Trash icon to delete app). No problem with Text editor. The view opened on GNOME Software is Firefox from Feora Flatpak repo (Indeed Firefox from Flatpak not installed, maybe that's why no way to open/uninstall Firefox) Searching Firefox on GNOME Software "Firefox" list 2 Firefox, 1 from Flatpak Flathub repo and 1 from Flatpak Fedora repo. Reproducible: Always Steps to Reproduce: 1. Install Fedora Workstation 2. Right Clic on Firefox Icon, sellect Open Details 3. See you can't remove Firefox Actual Results: Wrong Firefox page displayed in GNOME Software Expected Results: Possibility to Uninstall Firefox Tested on 3 Fedora Workstation, same issue.
Thanks for a bug report. The "Firefox from Fedora Flatpak" is only preselected for you. Below the Install button is written which source you've selected and when you click on it (there's also an arrow beside the source name), you'll get a list of the alternatives. One of them will be an RPM version and when you select it, you'll be able to uninstall it. It's not a wrong page, Fedora prefers Flatpaks, thus you have it offered.
No, on a fresh install, the selection can't display "RPM source", only flatpak from Fedora. Tested with Fedora Workstation 40 Frash install
Created attachment 2024180 [details] No RPM Source displayed, for Fedora
Just by accident, I installed a Fedora 40 machine from Fedora-Workstation-Live-x86_64-40_Beta-1.10.iso few hours ago and I can reproduce the problem too. When I search for the "firefox" in the Software it offers me two options: system/flatpak/fedora/org.mozilla.Firefox/stable and system/flatpak/flathub/org.mozilla.firefox/stable where one is from the "Fedora Linux" flatpak repository and the other one from Flathub. None of these is installed (there would be a green checkmark for it) and as their IDs do not match (one uses upper case 'F' in the 'Firefox'), they are not shown as one app with alternatives. When I open the Installed page the mentioned Firefox app there is: system/*/*/org.mozilla.firefox/* and when searching in the Software's --verbose log I see: 13:49:26:845 Gs nothing adopted system/*/*/org.mozilla.firefox/* which explains why the RPM version was not found. When I run: dnf provides /usr/share/applications/org.mozilla.firefox.desktop it returns several firefox-124.0.1-2.fc40.x86_64 packages, but when I run: pkcon what-provides /usr/share/applications/org.mozilla.firefox.desktop then it returns no hit. The pkcon is a PackageKit tool and gnome-software uses PackageKit for packages. It looks like `pkcon what-provides` is broken, because I get no hist for other apps, like: pkcon what-provides /usr/share/applications/yelp.desktop I'm moving this to PackageKit for further investigation. I tested this with PackageKit-1.2.8-3.fc40.x86_64.
I opened this upstream for better visibility: https://github.com/PackageKit/PackageKit/issues/737
*** Bug 2275212 has been marked as a duplicate of this bug. ***
Neal, I guess this can be a problem. Would you mind to have a look upstream, please?
I did some more investigation here and while the PackageKit's what-provides returns nothing, it's not the root cause of the problem. I can use gnome-45 on Fedora 40 or gnome-46 on Fedora 39, both using the same PackageKit, still only on Fedora 39 the RPM-based Firefox is recognized and can be viewed in the app details, but the Fedora 40 machine does not see it properly. I investigated it down to the appstream-data, the /usr/share/swcatalog/xml/fedora.xml.gz does not contain `firefox` package. That's with appstream-data-40-6.fc40.noarch. It'll be good to verify what else is missing, and/or what else broke. I'm moving this to the appstream-data package, the "what-provides" is not a Fedora-specific problem, thus it'll be better dealt with upstream.
Adam, I'm not sure how to "escalate" this. See bug #2277256 what else can be broken. It gives poor user experience of the Fedora 40, if nothing else.
I don't really know either. You can try poking Richard on RH internal channels, I guess...
Okay, I'll do it. Thank you.
FEDORA-2024-76352b2328 (appstream-data-40-7.fc40) has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-76352b2328
FEDORA-2024-76352b2328 has been pushed to the Fedora 40 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-76352b2328` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-76352b2328 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-76352b2328 (appstream-data-40-7.fc40) has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.