Unable to Update - (invalid or corrupted package)
I booted up my Arch box and attempted to perform a system upgrade and received:
error: vim-runtime: signature from "Levente Polyak (anthraxx) <levente@leventepolyak.net>" is unknown trust
:: File /var/cache/pacman/pkg/vim-runtime-8.1.0751-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
I did some self searching and found the following:
https://bbs.archlinux.org/viewtopic.php?id=167182
Sadly neither link solutions did the trick as I'm continuously getting the same error. Can someone give me a hand to get my system updated?
About this post
- Posted
- Archived
- Score
- 1 · 100% up
- Kind
- Text
- ID
- agtslb
9 comments
Here's some things to try:
First make sure your system's clock is correct. If you've already tried removing the vim-runtime files from the cache, then I'd try updating your keystore next:
https://wiki.archlinux.org/index.php/Pacman#Signature_from_%22User_%3Cemail@example.org%3E%22_is_unknown_trust,_installation_failed
You might also try commands from this thread: https://bbs.archlinux.org/viewtopic.php?id=143337
Maybe this too: https://www.ostechnix.com/fix-invalid-corrupted-package-pgp-signature-error-arch-linux/
Last time I had this problem (maybe a few weeks ago), I think the solution was some combination of the commands from either of these articles.
Thanks - I'll give that a try and post back here.
Had the same errors and was working on it forever, but nothing was working.
pacman-key --refresh-keys from one of your links, finally fixed it for me. :)
bojler
eladó