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 1383819

Summary: copr repo makes gnome-software/pkcon unable to find software
Product: [Fedora] Fedora Reporter: Baptiste POUGET <baba>
Component: gnome-softwareAssignee: Richard Hughes <rhughes>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 25CC: klember, rhughes
Target Milestone: ---   
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: 2016-12-19 23:23:58 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:

Description Baptiste POUGET 2016-10-11 20:54:07 UTC
Description of problem:

A copr repo can break gnome-software's look for software and make it display almost nothing without showing any error.

Version-Release number of selected component (if applicable):
Fedora 25 (upgraded from Fedora 24)

How reproducible:


Steps to Reproduce:
1. Add a copr repo like this one : "duffert/qtox-latest"
2. Run gnome-software
3. See there is no software
4. run 'pkcon refresh force'
5. See the error message (Erreur fatale: Status code: 404 for https://copr-be.cloud.fedoraproject.org/results/duffert/qtox-latest/pubkey.gpg
) in french (= fatal error 404 in english)
6. Run 'dnf copr remove duffert/qtox-latest' (in this case)
7. Run 'pkcon refresh force' again
8. See no error
9. Run gnome-software
10. See software

Actual results:

There is no way for the user to guess why gnome-software doesnt find anything

Expected results:

At least throw an error message or skip the broken repo without breaking everything

Additional info:

It happened when upgrading from Fedora 24 to 25 beta

Comment 1 Kalev Lember 2016-12-15 15:12:42 UTC
Thanks, should be fixed with https://github.com/rpm-software-management/libhif/pull/231

Comment 2 Fedora Update System 2016-12-17 09:14:43 UTC
PackageKit-1.1.4-2.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-28f95ccb2f

Comment 3 Fedora Update System 2016-12-19 02:31:02 UTC
PackageKit-1.1.4-2.fc25 has been pushed to the Fedora 25 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-2016-28f95ccb2f

Comment 4 Fedora Update System 2016-12-19 23:23:58 UTC
PackageKit-1.1.4-2.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.