Bug 1552513

Summary: There is no progress bar when install Google Chrome using Gnome-Software
Product: [Fedora] Fedora Reporter: lnie <lnie>
Component: gnome-softwareAssignee: Richard Hughes <rhughes>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 27CC: kalevlember, klember, rhughes, robert.ancell
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gnome-software-3.28.1-1.fc27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-19 00:28:52 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
screencast
none
screencast
none
journal
none
testy.repo none

Description lnie 2018-03-07 09:02:54 UTC
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:

Comment 1 lnie 2018-03-07 09:06:18 UTC
Created attachment 1405196 [details]
screencast

Comment 2 lnie 2018-03-07 09:07:17 UTC
Created attachment 1405198 [details]
journal

Comment 3 Kalev Lember 2018-03-07 09:39:00 UTC
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?

Comment 4 Kalev Lember 2018-03-07 10:04:42 UTC
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?

Comment 5 Kalev Lember 2018-03-07 11:23:12 UTC
*** Bug 1552518 has been marked as a duplicate of this bug. ***

Comment 6 lnie 2018-03-08 01:16:21 UTC
[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

Comment 7 Kalev Lember 2018-03-08 06:06:39 UTC
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 :)

Comment 8 Robert Ancell 2018-03-08 16:30:39 UTC
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.

Comment 9 lnie 2018-03-09 02:27:37 UTC
(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$
~             $

Comment 10 lnie 2018-03-09 02:31:05 UTC
Created attachment 1406066 [details]
testy.repo

Comment 11 Fedora Update System 2018-03-16 16:11:40 UTC
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

Comment 12 Fedora Update System 2018-03-17 20:37:53 UTC
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

Comment 13 Fedora Update System 2018-04-13 15:54:44 UTC
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

Comment 14 Fedora Update System 2018-04-15 16:18:26 UTC
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

Comment 15 Fedora Update System 2018-04-19 00:28:52 UTC
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.