After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 756991 - gpk-update-viewer doesn't offer to install signatures as needed
gpk-update-viewer doesn't offer to install signatures as needed
Status: RESOLVED OBSOLETE
Product: gnome-packagekit
Classification: Core
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: gnome-packagekit-maint
gnome-packagekit-maint
Depends on:
Blocks:
 
 
Reported: 2015-10-22 20:49 UTC by Mike Gorse
Modified: 2020-11-23 21:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch. (10.58 KB, patch)
2015-10-22 20:59 UTC, Mike Gorse
none Details | Review
Patch to add a get_distro_upgrades wrapper to PkTask. (3.70 KB, patch)
2016-01-28 17:47 UTC, Mike Gorse
none Details | Review
Patch to use pk_task functions to get update lists in gpk-update-viewer. (2.37 KB, patch)
2016-01-28 17:50 UTC, Mike Gorse
none Details | Review

Description Mike Gorse 2015-10-22 20:49:08 UTC
If a signature needs to be installed, then gpk-update-viewer doesn't offer to install it, instead printing an error saying that the signature is not present, with no option to install it. The callback that gets called when updates are ready simply displays an error if an error code is checked, while the analogous callback in pk-task.c, for instance, checks for this condition and spawns a dialog to ask the user for permission to install a signature.
Comment 1 Mike Gorse 2015-10-22 20:59:30 UTC
Created attachment 313894 [details] [review]
Proposed patch.

This fixes the issue for me, although it essentially duplicates a lot of code from pk-task.c; I'm wondering if there is a way to avoid doing that.
Comment 2 Michael Catanzaro 2015-10-25 02:14:04 UTC
Thanks Mike. Heads-up: this patch probably will sit unreviewed forever unless you ping the maintainer out-of-band (hughsie on IRC).
Comment 3 Mike Gorse 2016-01-28 17:47:43 UTC
Created attachment 319960 [details] [review]
Patch to add a get_distro_upgrades wrapper to PkTask.
Comment 4 Mike Gorse 2016-01-28 17:50:30 UTC
Created attachment 319961 [details] [review]
Patch to use pk_task functions to get update lists in gpk-update-viewer.

Talked with Richard on irc; decided that it probably makes sense to use pk_task functions.

This patch is much simpler than my original patch but requires new API.
Comment 5 Dominique Leuenberger 2016-08-31 11:41:09 UTC
ping ?
Comment 6 Mike Gorse 2016-08-31 15:43:08 UTC
Kalev, what do you think of the PackageKit change?
Comment 7 André Klapper 2020-11-23 21:21:06 UTC
bugzilla.gnome.org is being replaced by gitlab.gnome.org. We are closing all older bug reports and feature requests in GNOME Bugzilla which have not seen updates for a while.

If you still use gnome-packagekit and if you still see this bug / want this feature in a recent and currently supported version, then please feel free to report it at
https://gitlab.gnome.org/GNOME/gnome-packagekit/-/issues/
by following the guidelines at
https://wiki.gnome.org/Community/GettingInTouch/BugReportingGuidelines

Thank you for creating this report and we are sorry it could not be implemented
so far (volunteer workforce and time is limited).