Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1545759

Summary: GS ignoring some flatpaks
Product: Red Hat Enterprise Linux 7 Reporter: Martin Krajnak <mkrajnak>
Component: gnome-softwareAssignee: Richard Hughes <rhughes>
Status: CLOSED CURRENTRELEASE QA Contact: Desktop QE <desktop-qa-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.6CC: jkoten, mkrajnak, tpelka
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-21 13:00:36 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:
Attachments:
Description Flags
whole log file
none
flatpak list none

Description Martin Krajnak 2018-02-15 15:17:02 UTC
Description of problem:
Looks to me like GS is not able to manage some of the flatpaks even if they are installed via command line.

Version-Release number of selected component (if applicable):


How reproducible:
always (Same behaviour on 2 installation of 7.5)

Steps to Reproduce:
1.Add flathub repo
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
2.Open gnome-software (executed pkill gnome-software after adding repo)
3.Verify that gnome-software registers the repo From Gnome-panel select "Application Installer -> Software Sources"
5. Search for VLC or Visual Studio Code

Actual results:
Apps are not found

Expected results:
Apps should be found and user should be able to install and manage them as other flatpaks from flathub.

Additional info:
Furthermore I've tried to install those two apps via command line, so error should not be in flatpak itself. Apps worked fine but they cannot be found in Gnome sofware even after manual installation as "Installed".
Flatpaks like Spotify, Atom and Books and others from flathub are working as expected (I haven't tried them all)

Comment 2 Richard Hughes 2018-02-20 14:40:31 UTC
Can you get the "gnome-software --verbose" log after searching for something like VLC please? Thanks.

Comment 3 Martin Krajnak 2018-02-20 14:51:56 UTC
Created attachment 1398268 [details]
whole log file

14:47:40:0685 Gs  adding system/flatpak/flathub/desktop/org.videolan.VLC.desktop/stable
14:47:58:0562 Gs  autogenerating unique-id for org.videolan.VLC.desktop
14:47:58:0562 As  run 0x36a8a30~appstream::refine-app{*/*/*/*/org.videolan.VLC.desktop/*}
14:47:58:0562 Gs  autogenerating unique-id for org.videolan.VLC.desktop
14:47:58:0562 Gs  */*/*/desktop/org.videolan.VLC.desktop/* non-transient state now available
14:47:58:0563 Gs  runtime for */*/*/desktop/org.videolan.VLC.desktop/* is org.freedesktop.Platform/x86_64/1.6
14:47:58:0563 Gs  autogenerating unique-id for org.videolan.VLC.desktop
14:47:58:0563 As  run 0x36a8a30~appstream::refine-addons{system/flatpak/flathub/desktop/org.videolan.VLC.desktop/stable}
14:47:58:0563 Gs  adding system/flatpak/flathub/desktop/org.videolan.VLC.desktop/stable as nothing matched hash
14:47:58:0563 Gs  adding system/flatpak/flathub/desktop/org.videolan.VLC.desktop/stable as nothing matched hash
14:47:58:0563 Gs  adding system/flatpak/flathub/desktop/org.videolan.VLC.desktop/stable as nothing matched hash
14:47:58:0564 Gs  flatpak adopted system/flatpak/flathub/desktop/org.videolan.VLC.desktop/stable
14:47:58:0564 As  run 0x36a8a30~appstream::refine-from-id{system/flatpak/flathub/desktop/org.videolan.VLC.desktop/stable}
14:47:58:0564 Gs  searching appstream for system/flatpak/flathub/desktop/org.videolan.VLC.desktop/stable
14:47:58:0565 Gs  no app with ID system/flatpak/flathub/desktop/org.videolan.VLC.desktop/stable found in system appstream
14:47:58:0565 Gs  no AppStream match for {pkgname} app/org.videolan.VLC/x86_64/stable
14:47:58:0565 As  run 0x36a8a30~GsFlatpak-system-default::refine{org.videolan.VLC.desktop}
14:47:58:0565 As  run 0x36a8a30~GsFlatpak-system-default::refine-appstream{org.videolan.VLC.desktop}
14:47:58:0565 As  run 0x36a8a30~appstream::refine-app{system/flatpak/flathub/desktop/org.videolan.VLC.desktop/stable}
14:47:58:0566 Gs  runtime for system/flatpak/flathub/desktop/org.videolan.VLC.desktop/stable is org.freedesktop.Platform/x86_64/1.6
14:47:58:0566 As  run 0x36a8a30~appstream::refine-addons{system/flatpak/flathub/desktop/org.videolan.VLC.desktop/stable}
14:47:58:0567 As  run 0x36a8a30~GsFlatpak-system-default::refine-origin-hostname{org.videolan.VLC.desktop}
14:47:58:0567 As  run 0x36a8a30~GsFlatpak-system-default::refine-metadata{org.videolan.VLC.desktop}
14:47:58:0952 Gs  runtime for org.videolan.VLC is org.freedesktop.Platform/x86_64/1.6
14:47:58:0953 Gs  adding system/flatpak/flathub/desktop/org.videolan.VLC.desktop/stable as nothing matched hash
14:47:58:0958 Gs  adding system/flatpak/flathub/desktop/org.videolan.VLC.desktop/stable as nothing matched hash
14:47:58:0958 Gs  adding system/flatpak/flathub/desktop/org.videolan.VLC.desktop/stable as nothing matched hash
14:47:58:0958 Gs  adding system/flatpak/flathub/desktop/org.videolan.VLC.desktop/stable as nothing matched hash
14:47:58:0958 Gs  adding system/flatpak/flathub/desktop/org.videolan.VLC.desktop/stable as nothing matched hash
14:47:58:0958 Gs  adding system/flatpak/flathub/desktop/org.videolan.VLC.desktop/stable as nothing matched hash
14:47:58:0958 Gs  removing incompatible org.videolan.VLC.desktop from project group VideoLAN

Comment 4 Tomas Pelka 2018-02-21 15:04:22 UTC
Based on discussion with Richard reflaging for 7.6

Comment 5 Martin Krajnak 2018-04-12 10:06:51 UTC
I just wanted to add small update I've recently been able to automate installation and remove process of more than 60 flatpaks and I've notices that there are several more flatpaks which suffers from the similar problem, basically after hitting Install button nothing happens.

Namely with:
Eolie
Devhelp
GNOME Web
GNOME Documents
GNOME Dictionary
GNOME Music
Gnote
GNOME Hitori
GNOME MPV
Gnome Twitch

Also when I tried to obtain the log from gnome-software --verbose, flatpaks were totally unavailable meaning if I tried to search even installed flatpak only non flatpaks or nothing was shown. The log contained the following:

09:55:40:0077 Gs  opened plugin /usr/lib64/gs-plugins-11/libgs_plugin_flatpak.so: flatpak
09:55:40:0090 As  run GsPlugin::flatpak(gs_plugin_initialize)
09:55:40:0118 Gs  flatpak [0] to be ordered after appstream [0] so promoting to [1]
09:55:40:0118 Gs  cannot find plugin 'flatpak-system' requested by 'odrs'
09:55:40:0118 Gs  cannot find plugin 'flatpak-user' requested by 'odrs'
...
...
...
...
09:55:46:0956 Gs  plugin no longer recently active: flatpak



Please is there anything you can think of, maybe some temporary files which I should remove between test or anything else which should help me to avoid this kind of behaviour ? Thanks in advance.

Comment 6 Martin Krajnak 2018-06-14 13:43:28 UTC
Created attachment 1451363 [details]
flatpak list

From what I see in 7.6, this problem is growing, as you can see on provided screenshot I am able to install 2 flatpaks from 2 different remotes via comand line but I can't achieve that via gnome-software. This is in my opinion very unfortunate since non-command line users might miss software they want to install.

Comment 7 Martin Krajnak 2018-06-21 13:00:36 UTC
Taking back what I've said in Comment 6, I was used to the "Source:" field as described in Bug 1592809 which is mostly gone now. I can install VLC and other flatpaks listed in Comment 5.