mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-21 23:38:49 -05:00
Report which package is missing a signature
If any package in a sync transaction is missing a required signature, we give an uninformative error message (which may or may not state that the missing signature is the issue). Always output the package with the missing signature. Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
e5f23e0ebb
commit
ed511b141f
@ -1105,7 +1105,10 @@ static int check_validity(alpm_handle_t *handle,
|
||||
if(errors) {
|
||||
for(i = errors; i; i = i->next) {
|
||||
struct validity *v = i->data;
|
||||
if(v->error == ALPM_ERR_PKG_INVALID_SIG) {
|
||||
if(v->error == ALPM_ERR_PKG_MISSING_SIG) {
|
||||
_alpm_log(handle, ALPM_LOG_ERROR,
|
||||
_("%s: missing required signature\n"), v->pkg->name);
|
||||
} else if(v->error == ALPM_ERR_PKG_INVALID_SIG) {
|
||||
_alpm_process_siglist(handle, v->pkg->name, v->siglist,
|
||||
v->level & ALPM_SIG_PACKAGE_OPTIONAL,
|
||||
v->level & ALPM_SIG_PACKAGE_MARGINAL_OK,
|
||||
|
Loading…
Reference in New Issue
Block a user