Skip to content

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://wiki.archlinux.org/index.php/Pacman#%22Failed_to_commit_transaction_(invalid_or_corrupted_package)%22_error

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?

1 points7 comments
Open on Reddit
About this post
Posted
Archived
Score
1 · 100% up
Kind
Text
ID
agtslb

Author

30
posts
91
comments
2
media
View profile

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

​

1 points

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.

3 points

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. :)

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.