You are not logged in.
Hi, As the title suggests, i have not updated Arch in a while, so when i run
sudo pacman -Syu I have exactly 788 packages to update, and it obviously returns with
error: kjobwidgets: signature from "Antonio Rojas <arojas@archlinux.org>" is invalid
:: File /var/cache/pacman/pkg/kjobwidgets-5.105.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). for a lot of things and at the end it outputs:
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.Now i found a few solutions online, here is what i followed:
First i updated archlinux-keyring, then i refreshed said keyring. I then got an error about not being able to refresh packages, which i solved by removing the DBlock:
rm /var/lib/pacman/db.lck after doing all these my problem is still not solved when in theory it should be.
Offline
https://wiki.archlinux.org/title/Pacman … ure_errors is not https://wiki.archlinux.org/title/Pacman … nown_trust
I then got an error about not being able to refresh packages
Don't paraphase. An existing db.lck indicates that either there's another pacman instance running or pacman was interrupted (killed) in which case it's not unlikely that there's also one or more genuinely corrupted files in the cache.
No sure how you would have re-installed archlinux-keyring then, though.
Offline