index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | David Phillips <david@sighup.nz> | 2018-09-19 14:30:37 +1200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2018-09-19 17:04:45 +1000 |
commit | 192d6166e9cb2a8f26d7256690e0158bd5a5d226 (patch) | |
tree | f1043f7dfb9d4593448f8765e954ff53da1a2c18 /lib/libalpm | |
parent | b54b33d816cdc3d1aab3b80f4eb94c5bad56c889 (diff) |
-rw-r--r-- | lib/libalpm/sync.c | 5 |
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c index 65a853dc..b6ae7b72 100644 --- a/lib/libalpm/sync.c +++ b/lib/libalpm/sync.c @@ -1190,6 +1190,11 @@ static int check_validity(alpm_handle_t *handle, case ALPM_ERR_PKG_INVALID_CHECKSUM: prompt_to_delete(handle, v->path, v->error); break; + case ALPM_ERR_PKG_NOT_FOUND: + case ALPM_ERR_BADPERMS: + case ALPM_ERR_PKG_OPEN: + _alpm_log(handle, ALPM_LOG_ERROR, _("failed to read file %s: %s\n"), v->path, alpm_strerror(v->error)); + break; default: /* ignore */ break; |