Using this image as base ^^^^^^^^^^^^^^^^^^^^^^^^ As per usual concern pacman lsign key should not be distributed. If you want to update packages you need to initialize public keyring: # pacman-key --init # pacman-key --populate After this you can update and install packages as needed: # pacman -Sy archlinux-keyring && pacman -Su # pacman -S butler-git If you want to distribute the image afterwards then you should strip the lsign key from the image. Additionally, you may want to clear cache and sync: # rm -rf /etc/pacman.d/gnupg # rm -f /var/cache/pacman/pkg/*.zst{,.sig} # rm -f /var/lib/pacman/sync/*