Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1489530 - Eclipse cannot be installed through plasma-discover
Summary: Eclipse cannot be installed through plasma-discover
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: appstream
Version: 26
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1486970
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-07 15:57 UTC by Mat Booth
Modified: 2017-09-17 22:50 UTC (History)
1 user (show)

Fixed In Version: appstream-0.11.5-4.fc26
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-09-17 22:50:21 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Mat Booth 2017-09-07 15:57:04 UTC
Description of problem:

The Eclipse IDE is not installable through KDE's plasmas-discover and I believe it is because of a problem in appstream. Try searching for "eclipse" in plasma-discover -- you can see some add-ons, but no results for the IDE itself.

You can see clearly see the problem is lower down than plasma-discover by using the appstreamcli tool directly:

$ rpm -q appstream
appstream-0.10.6-1.fc26.x86_64

$ appstreamcli search eclipse | grep desktop
Identifier: kdocker.desktop [desktop-application]

I expected there to be an entry for "eclipse.desktop" here but there is not, even though the metadata is present and correct in /usr/share/app-info/xmls/fedora.xml.gz

I backported a more recent version of appstream from rawhide and this seems to fix the issue for me:

$ sudo dnf copr enable mbooth/appstream
$ sudo dnf update appstream
$ rpm -q appstream
appstream-0.11.2-1.fc26.x86_64

$ appstreamcli search eclipse | grep desktop
Identifier: redeclipse.desktop [desktop-application]
Identifier: eclipse.desktop [desktop-application]
Identifier: bluefish.desktop [desktop-application]
Identifier: kdocker.desktop [desktop-application]

And this is the result I expect. Notice now that the Eclipse IDE is available to install when you search for "eclipse" in plasma-discover after upgrading appstream.

Please consider back-porting this version of appstream to Fedora 26, so that my users can discover and install Eclipse.

Comment 1 Mat Booth 2017-09-11 13:18:17 UTC
Hi Rex,

If you are too busy, and with your permission, I'd be happy to use my provenpackager permission bit to do this backport.

It seems like Eclipse is not the only app affected by the problem -- it would be good to have plasma-discover working as well as gnome-software.

Comment 2 Rex Dieter 2017-09-12 13:22:42 UTC
I can probably do it. Been fighting a bit to get the latest versions of appstream built, but I think I got it sorted out.

Comment 3 Fedora Update System 2017-09-12 14:30:33 UTC
appstream-0.11.5-2.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-8f689271d8

Comment 4 Fedora Update System 2017-09-13 06:21:38 UTC
appstream-0.11.5-2.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-8f689271d8

Comment 5 Fedora Update System 2017-09-14 20:29:50 UTC
appstream-0.11.5-4.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-8f689271d8

Comment 6 Fedora Update System 2017-09-16 04:22:20 UTC
appstream-0.11.5-4.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-8f689271d8

Comment 7 Fedora Update System 2017-09-17 22:50:21 UTC
appstream-0.11.5-4.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.


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