Just as a heads up (ignoring the fact that this was necrobumped): that is not a solution rather than avoiding the problem. Below the ārealā solution:
If you're getting an error similar to "Canāt update: signature from *** is marginal trust" or "invalid or corrupted package" you probably just need to update your package signing keys:
sudo pacman -Sy archlinux-keyring chaotic-keyring
sudo pacman -Syu
If you have added any other repositories, e.g. BlackArch, then add their keyring to the list.
Also make sure your system clock is correct!
Of course, it's also possible that the package file actually is corrupt. Remove it from /var/cache/pacmanā¦
3 Likes