Skip to content

Pacman can't update because of invalid or corrupted packages

Hi everyone !

First I will mention that yes, I have checked the Wiki and tried the solution:

find /var/cache/pacman/pkg/ -iname "*.part" -delete

But it doesn't find anything, so it still doesn't work...

I'll gladly give more precisions if asked

Edit : The shell basically prints this with 100~ packages

:: File /var/cache/pacman/pkg/libupnp-1.14.13-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]

and then say :

error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.
 -> error installing repo packages

Edited 27 Sep 2022. We only hold this version.

0 points3 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
0 · 33% up
Kind
Text
ID
xpbs3t

Author

1
posts
1
comments
0
media
View profile

3 comments

No steps, no error messages.

Ask your local wizard for help instead?

Also:

# pacman -Sy archlinux-keyring && pacman -Su
8 points

I'll update the post with more shell messages, give me 1 min

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.