Bug 2124869

Summary: Can't install a local rpm package anymore, Install button missing (for certain RPMs)
Product: [Fedora] Fedora Reporter: Kamil Páral <kparal>
Component: gnome-softwareAssignee: Milan Crha <mcrha>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 37CC: awilliam, gnome-sig, mcrha, rhughes, robatino
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: AcceptedBlocker
Fixed In Version: gnome-software-43.rc-2.fc37 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-09-17 00:16:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2009539    

Description Kamil Páral 2022-09-07 10:23:09 UTC
Please see the description here:
https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1895

This bug is filed for blocker proposal purpose only.

Proposing as a blocker:
"The default graphical package manager for a given software type must appropriately: 
Install, remove and update software"
https://fedoraproject.org/wiki/Fedora_37_Final_Release_Criteria#Installing,_removing_and_updating_software

Note that it is not exactly specified that gnome-software must be able to install **local** rpm packages, it just always worked this way in the past. The impact is not just rpmfusion, of course, some third-party apps (like Google Chrome) also offer an rpm for a local installation. As well as our own infra like Koji.

Comment 1 Milan Crha 2022-09-07 11:30:41 UTC
There is a /usr/share/app-info/xmls/other-repos.xml, which takes over the generated GsApp by the PackageKit, aka replacing it. When I get rid of the other-repos.xml file, it works as expected.

What is that other-repos.xml file good for? Apart of confusing gnome-software, of course. Though I see it's there (appstream-data) for a long time, it's nothing new.

Comment 2 Kamil Páral 2022-09-12 10:46:58 UTC
For blocker review discussion: Please read the upstream ticket. This seems to affect only certain apps listed in /usr/share/app-info/xmls/, like rpmfusion or google chrome rpm, but not any arbitrary rpm.

Comment 3 Adam Williamson 2022-09-12 15:59:50 UTC
+4 in https://pagure.io/fedora-qa/blocker-review/issue/899 , marking accepted.

Comment 4 Fedora Update System 2022-09-13 07:30:26 UTC
FEDORA-2022-b6246d02fa has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-b6246d02fa

Comment 5 Kamil Páral 2022-09-13 12:27:18 UTC
The problem is resolved in gnome-software-43.rc-2.fc37:
https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1895#note_1551039

Comment 6 Fedora Update System 2022-09-14 01:52:13 UTC
FEDORA-2022-b6246d02fa has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-b6246d02fa`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-b6246d02fa

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2022-09-17 00:16:05 UTC
FEDORA-2022-b6246d02fa has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.