Created attachment 1405195 [details] screencast Description of problem: As shown in the attached screencast. Version-Release number of selected component (if applicable): gnome-software-3.27.92-0.fc27.kalev_copr0.x86_64 PackageKit-1.1.9-0.fc27.kalev_copr0.x86_64 How reproducible: always Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Created attachment 1405196 [details] screencast
Created attachment 1405198 [details] journal
Looks like the snap plugin doesn't do things right when installing snaps and fails to show progress. I don't work on the snap code, can you file this upstream at https://gitlab.gnome.org/GNOME/gnome-software please? I'm wondering if we should even ship the gnome-software-snap subpackage if it's so broken (https://bugzilla.redhat.com/show_bug.cgi?id=1552512 as well). It also seems to have somehow taken over all of the apps shown in gnome-software and I don't see the rpm Chromium there at all. How did you get gnome-software-snap package? Did you manually install it or did it somehow automatically get installed? I see a "Supplements: (gnome-software%{?_isa} and snapd%{?_isa})" in the packaging, I wonder if that pulled it in?
Ahh, now I see, there's a packagekitd crash in the log: Mar 07 16:46:05 localhost.localdomain PackageKit[1095]: daemon start Mar 07 16:46:05 localhost.localdomain packagekitd[1095]: failed to setup context: Failed to load /etc/yum.repos.d/testy.repo: Key file contains line “~ ” which is not a key-value pair, group, or comment This is causing only snaps to be shown and no rpms. Can you attach the .repo file here please?
*** Bug 1552518 has been marked as a duplicate of this bug. ***
[root@localhost ~]# rpm -q gnome-software-snap gnome-software-snap-3.27.92-0.fc27.kalev_copr0.x86_64 so,it seems that the snap is pulled in when I try to install gnome-software from your repo. Here is the /etc/yum.repos.d/testy.repo: [beaker-harness] name=beaker-harness baseurl=http://beaker.engineering.redhat.com/harness/Fedora27/ enabled=1 gpgcheck=0
Hm, weird. I don't see “~ ” in there. Could you attach the file here, instead of pasting to a comment? Maybe there's some hidden whitespace characters that trip packagekit over but aren't visible in a bugzilla comment. In any case, https://github.com/hughsie/PackageKit/commit/2f1c4b820b056efc989be0f9101da604aa532bc0 and https://gitlab.gnome.org/GNOME/gnome-software/commit/31184f328d43131571887238c3c90bb5dae26a7f fix the errors to correctly show up in gnome-software, hopefully making this case a bit easier to diagnose next time :)
I wasn't able to reproduce this though I could install Chromium in a fresh install. I suspect the PackageKit crash might be causing GNOME Software to get confused.
(In reply to Kalev Lember from comment #7) > Hm, weird. I don't see “~ ” in there. Could you attach the file > here, instead of pasting to a comment? Maybe there's some hidden whitespace > characters that trip packagekit over but aren't visible in a bugzilla > comment. yeah,I just found that it dose has a hidden ~ [root@localhost ~]# cat -A /etc/yum.repos.d/testy.repo [beaker-harness]$ name=beaker-harness$ baseurl=http://beaker.engineering.redhat.com/harness/Fedora27/$ enabled=1$ gpgcheck=0$ ~ $
Created attachment 1406066 [details] testy.repo
PackageKit-1.1.9-2.fc27 gnome-software-3.28.0-4.fc27 libappstream-glib-0.7.7-2.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-55a6726164
PackageKit-1.1.9-2.fc27, gnome-software-3.28.0-4.fc27, libappstream-glib-0.7.7-2.fc27 has been pushed to the Fedora 27 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-2018-55a6726164
PackageKit-1.1.9-3.fc27 gnome-software-3.28.1-1.fc27 libappstream-glib-0.7.7-2.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-55a6726164
PackageKit-1.1.9-3.fc27, gnome-software-3.28.1-1.fc27, libappstream-glib-0.7.7-2.fc27 has been pushed to the Fedora 27 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-2018-55a6726164
PackageKit-1.1.9-3.fc27, gnome-software-3.28.1-1.fc27, libappstream-glib-0.7.7-2.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.