Update error: Failed to commit transaction

“Invalid or corrupted package (PGP signature)”

I tried:

sudo pacman-mirrors -f && sudo pacman -Syyu
checking package integrity                                   [#####################################] 100%
error: vivaldi-ffmpeg-codecs: signature from "Ike Devolder <ike.devolder@archlinux.org>" is unknown trust
:: File /var/cache/pacman/pkg/vivaldi-ffmpeg-codecs-118.0.5993.117-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y

After I confirmed with yes it said again:

"Error: failed to commit transaction (invalid or corrupted package (PGP signature)" and
"Errors occured, no packages where upgraded."

So it looks like I made a full turn to end up at the start again.

I have also tried:

find /var/cache/pacman/pkg/ -iname "*.part" -exec sudo rm {} \;

which did nothing


Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text

2 Likes

Thanks. When you answered I was going through these commands:

pacman-key --init 
pacman-key --populate archlinux manjaro 
pacman-key --refresh-keys

The last one took like 10 minutes but it fixed the problem.

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.