I ran a sudo pacman -Syu to update my system, but unfortunately my PC ran out of battery partway through. I plugged it in, but when I try to update I get error: failed to synchronize all databases (unable to lock database). I deleted the lock file, but now I get tons of signature from "... <...@archlinux.org>" is unknown trust followed by File /var/cache/pacman/pkg/[something].pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature). How do I fix this?
#Arch fails to update after PC lost power
7 messages · Page 1 of 1 (latest)
pacman-key --init
pacman-key --populate archlinux
should fix fix invalid or corrupted signature
.se partial upgrade
.aw partial upgrade
Arch Wiki: Partial upgrade