Bug 1016566
Summary: | Installing a package silently fails if the GPG key for the yum repo is not installed | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Tim Lauridsen <tim.lauridsen> |
Component: | gnome-software | Assignee: | Richard Hughes <rhughes> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 20 | CC: | awilliam, dan.mashal, rhughes, robatino |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | AcceptedFreezeException | ||
Fixed In Version: | PackageKit-0.8.12-1.fc20 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-10-22 05:38:38 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: | |||
Bug Depends On: | |||
Bug Blocks: | 980655 |
Description
Tim Lauridsen
2013-10-08 11:02:00 UTC
Confirmed that this is still an issue on a recent trunk build of gnome-software. On the command line, gnome-software returns the message: (gnome-software:16760): Gs-WARNING **: failed to complete gs_plugin_app_install: could not do key question as no klass support Thanks for your bugreport Tim! I have confirmed this behaviour with a recent upstream build, and have filed a bug upstream in GNOME to get this issue looked at. https://bugzilla.gnome.org/show_bug.cgi?id=709676 This seems like a major problem for Beta, nominating as a Beta freeze exception. We don't require package installation to work for Beta, so it's probably not a blocker. Discussed at 2013-10-16 freeze exception review meeting: http://meetbot.fedoraproject.org/fedora-blocker-review/2013-10-16/f20beta-blocker-review-4.2013-10-16-16.02.log.txt . Accepted as a freeze exception issue - obviously, package install should work after install if possible... *** Bug 1020069 has been marked as a duplicate of this bug. *** Was a PackageKit thinko: commit bc076b3192a6e67f781969459e122fa9576b997b Author: Richard Hughes <richard> Date: Fri Oct 18 10:25:12 2013 +0100 lib: Do not have duplicate 'interactive' properties on the super and base classes If the client called pk_client_set_interactive() on a PkTask instance this was not being used in the derived class and the EULA and GPG auto-accept prompts were failing. There's no need at all to have the same property in both objects, the property means the same in both. Deprecate the getters and setters in the superclass. Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=709676 Will do a new update now. PackageKit-0.8.12-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/PackageKit-0.8.12-1.fc20 Fix doesn't seem to work for me :( I updated a clean TC5 VM with PackageKit 0.8.12 and gnome-software still cannot install packages, I still see "(gnome-software:2356): Gs-WARNING **: failed to complete gs_plugin_app_install: could not do key question as no klass support" . Persists after a reboot. <hughsie> gahh <adamw> brown paper bag time? <hughsie> so i only fixed gnome-software in master for the gpg fix no, the PK update is fine i'll need to tag in a gnome-software update too Package PackageKit-0.8.12-1.fc20, gnome-software-3.10.2-1.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing PackageKit-0.8.12-1.fc20 gnome-software-3.10.2-1.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-19433/PackageKit-0.8.12-1.fc20,gnome-software-3.10.2-1.fc20 then log in and leave karma (feedback). PackageKit-0.8.12-1.fc20, gnome-software-3.10.2-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. Tested by removing the keys unsing yum-plugin-keys and installing something using gnome-software, it installed as expected. Is it suppossed to install gpg silently with out telling/asking the user ? from a usabillity point of view it is nice, but not from a security point of view :) For me it prompted for the user's password, as I'd expect. I got a polkit password dialog, but did not catch if the dialog said any thing about a gpg key, I just thought it was releated to installing the package. |