This is the log:
sudo pacman -Syu
[...]
:: Proceed with installation? [Y/n] Y
:: Retrieving packages...
pamac-aur-10.1.1-1-x86_64 1074.9 KiB 1940 KiB/s 00:01 [----------------------------------------------------------------------------------------] 23%
starship-git-0.52.1.1529.g8f464e4c1-1-x86_64 4.4 MiB 2.14 MiB/s 00:02 [----------------------------------------------------------------------------------------] 100%
(615/615) checking keys in keyring [----------------------------------------------------------------------------------------] 100%
(615/615) checking package integrity [----------------------------------------------------------------------------------------] 100%
error: starship-git: signature from "Nico Jensch <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/starship-git-0.52.1.1529.g8f464e4c1-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] Y
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.