[ar@arlinux ~]$ doas pacman-key --init doas (ar@arlinux) password: [ar@arlinux ~]$ doas pacman-key --populate ==> Appending keys from archlinux.gpg... ==> Updating trust database... gpg: next trustdb check due at 2023-07-12 [ar@arlinux ~]$ doas pacman -Sy archlinux-keyring :: Synchronizing package databases... core is up to date extra is up to date community is up to date multilib is up to date warning: archlinux-keyring-20230504-1 is up to date -- reinstalling resolving dependencies... looking for conflicting packages... Packages (1) archlinux-keyring-20230504-1 Total Download Size: 1.14 MiB Total Installed Size: 1.61 MiB Net Upgrade Size: 0.00 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... archlinux-keyring-20230504-1-any 1164.5 KiB 16.2 MiB/s 00:00 [#############################################################################] 100% (1/1) checking keys in keyring [#############################################################################] 100% (1/1) checking package integrity [#############################################################################] 100% error: archlinux-keyring: signature from "Christian Hesse " is unknown trust :: File /var/cache/pacman/pkg/archlinux-keyring-20230504-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] error: failed to commit transaction (invalid or corrupted package (PGP signature)) Errors occurred, no packages were upgraded.