FS#52864 - [pacman] On missing key (e.g. stale archlinux-keyring), error out before checking package integrity

Attached to Project: Arch Linux
Opened by Åsmund Ervik (AsmundEr) - Monday, 06 February 2017, 08:01 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 06 February 2017, 15:04 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When a key is missing for a package in Core or Extra (e.g. due to stale archlinux-keyring), currently it errors out not after "checking keys in keyring", but after the next step "checking package integrity".

On an old box with many packages to be upgraded, "checking package integrity" can take many minutes and is just a waste of time. Can we please error out earlier, at the appropriate step "checking keys in keyring"?

Additional info:
pacman v. 5.0.1

Steps to reproduce:
* Downgrade some package
* Remove corresponding dev key from keyring
* pacman -Syu
* Notice where failure happens
This task depends upon

Closed by  Doug Newgard (Scimmia)
Monday, 06 February 2017, 15:04 GMT
Reason for closing:  Not a bug
Additional comments about closing:  The problem is that the packages are signed with those keys, not that those keys exist

Loading...