RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1286641 - MimeType missing in desktop file of gnome-packagekit-installer
Summary: MimeType missing in desktop file of gnome-packagekit-installer
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: gnome-packagekit
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Richard Hughes
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-30 12:00 UTC by Oliver Ilian
Modified: 2016-11-04 06:20 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-04 06:20:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:2425 0 normal SHIPPED_LIVE PackageKit and gnome-packagekit bug fix update 2016-11-03 13:59:42 UTC

Description Oliver Ilian 2015-11-30 12:00:50 UTC
Description of problem:
MimeType missing in desktop file of gnome-packagekit-installer (/usr/share/applications/gpk-application.desktop) which prevents the install of rpms through firefox. This was working in RHEL 7.1 and before.

Version-Release number of selected component (if applicable):
gnome-packagekit-installer-3.14.3-5.el7.x86_64.rpm

How reproducible:
Every time you try to install a rpm

Steps to Reproduce:
1. Click on a link to an rpm file in your favourite browser (Firefox) 

Actual results:
Offered to open rpm in file-roller

Expected results:
open the rpm by default with the software installer


Additional info:
We do not use the gnome-software store at the moment.

The line missing in /usr/share/applications/gpk-application.desktop is: MimeType=application/x-rpm;application/x-redhat-package-manager;application/x-deb;application/x-app-package;

Comment 1 Oliver Ilian 2015-11-30 12:29:21 UTC
actually i checked and the issue is that 

/usr/share/applications/gpk-install-local-file.desktop

is missing completely. Please add it back so that rpm's can be installed by a double click or directly inside the browser.

Comment 2 Matthias Clasen 2016-04-15 17:37:46 UTC
sounds like an easy fix

Comment 3 Richard Hughes 2016-04-26 12:55:39 UTC
So, this was removed so that gnome-software can handle the open action. I guess installing gnome-software would fix this, but we probably need a smarter fix for upgrades.

Comment 4 Richard Hughes 2016-05-18 14:27:51 UTC
I think I fixed this with #1290868, right?

Comment 5 Matthias Clasen 2016-06-02 14:12:52 UTC
Oliver, is this sufficiently fixed for your needs ?

Comment 6 Oliver Ilian 2016-06-29 13:05:54 UTC
yes, it is fixed for me. Thanks.

Comment 7 Matthias Clasen 2016-06-29 13:07:22 UTC
great, thanks

Comment 9 Matěj Cepl 2016-08-06 10:21:35 UTC
Yes, when clicking on http://download-ipv4.eng.brq.redhat.com/nightly/latest-RHEL-7/compose/Workstation/x86_64/os/Packages/GeoIP-1.5.0-11.el7.x86_64.rpm Firefox offers Software Install.

Comment 11 errata-xmlrpc 2016-11-04 06:20:15 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2425.html


Note You need to log in before you can comment on or make changes to this bug.