error: key "CEB167EFB5722BD6" could not be looked up remotely error: required key missing from keyring error: failed to commit transaction (unexpected error)
$ sudo pacman-key --lsign-key CEB167EFB5722BD6
if this gives error ERROR: CEB167EFB5722BD6 could not be locally signed.
$ sudo pacman-key --refresh-keys
If it still gives error ERROR: A specified local key could not be updated from a keyserver.
$ sudo pacman -Scc
$ sudo pacman -Syy
Here:
- -S: Sync packages
- -yy: refresh package database, force refresh even if local database appears up-to-date
$ sudo pacman -S archlinux-keyring
$ sudo pacman-key --init
$ sudo pacman-key --populate archlinux
$ sudo pacman -Syu
Thank you very much, it was exactly what I needed.