Most likely since upgrading gnupg from 2.2.41-2 to 2.4.3 almost every package doesn't pass integrity check with the following error:
[code]
root@linux:/ -# pacman -S z3
resolving dependencies...
looking for conflicting packages...
Packages (1) z3-4.12.4-1
Total Installed Size: 50.06 MiB
Net Upgrade Size: 0.80 MiB
:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring [######################################################] 100%
(1/1) checking package integrity [######################################################] 100%
error: z3: signature from "Arch Linux ARM Build System <builder@archlinuxarm.org>" is marginal trust
:: File /var/cache/pacman/pkg/z3-4.12.4-1-aarch64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.
[/code]
Meaning not just this one but all of them. I can manually download packages from the ALARM mirror and install them with [code]pacman -U[/code] but otherwise I just get the above error. I tried many things in regards to this as root:
[code]
rm -rf /etc/pacman.d/gnupg
pacman-key --init
pacman-key --populate
# As mentioned installing archlinux-keyring manually via pacman -U but that didn't help
# Also pacman -Scc before
[/code]
I also tried building the former gnupg version but couldn't because I have no idea what the dependencies are needed from it, the gitlab for reference:make_clickable_callback(MAGIC_URL_FULL, ' ', 'https://gitlab.archlinux.org/archlinux/packaging/packages/gnupg', '', ' class="postlink"')
Can someone help?