this is what I got
alek@Feather Desktop]$ ls -al /var/cache/pacman/pkg/libgpg*
ls: cannot access ‘/var/cache/pacman/pkg/libgpg*’: No such file or directory
[alek@Feather Desktop]$ sudo pacman -U /var/cache/pacman/pkg/libgpg-error_xxx.tar.zst
warning: database file for ‘core’ does not exist (use ‘-Sy’ to download)
warning: database file for ‘extra’ does not exist (use ‘-Sy’ to download)
warning: database file for ‘community’ does not exist (use ‘-Sy’ to download)
warning: database file for ‘multilib’ does not exist (use ‘-Sy’ to download)
loading packages…
error: ‘/var/cache/pacman/pkg/libgpg-error_xxx.tar.zst’: could not find or read package