You are not logged in.
Whenever I attempt to update my system using sudo pacman -Syu, I receive errors indicating that several packages have invalid or corrupted PGP signatures. Here are some examples of the errors I encounter:
error: systemd: signature from "Christian Hesse <eworm@archlinux.org>" is invalid
:: File /var/cache/pacman/pkg/systemd-257.7-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] Y
This issue occurs for multiple packages, including: systemd, breeze, firefox, kscreen, linux-firmware-broadcom, linux-firmware-mediatek.
I tried using # pacman-key --init && pacman-key --populate archlinux and refreshing keys but problem persists every time i upgrade.
Last edited by vulpes_12 (Today 04:14:05)
Offline
Did you already try "pacman -Sy archlinux-keyring && pacman -Su"?
Offline
I tried running the commands:
$ sudo -Sy archlinux-keyring
$ sudo pacman -Su
However, i am still encountering the same issue of invalid PGP signature:
error: breeze: signature from "Tomaz Canabrava <tcanabrava@archlinux.org>" is invalid
:: File /var/cache/pacman/pkg/breeze-6.4.1-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] Y
error: linux-firmware-broadcom: signature from "Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>" is invalid
:: File /var/cache/pacman/pkg/linux-firmware-broadcom-20250613.12fe085f-9-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] Y
error: linux-firmware-mediatek: signature from "Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>" is invalid
:: File /var/cache/pacman/pkg/linux-firmware-mediatek-20250613.12fe085f-9-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
last time when this problem occur i manually removed corrupted packages from respective directories. its only happened with three firmware packages but this time its happening with more packages
Offline
And does deleting them and redownloading them not work here? If not, how about using a different mirror?
Online
deleting them and re-downloading them works but when i again go for upgrade the system every time its "(invalid or corrupted package (PGP signature))" with some packages
Offline
Then the packages are *actually* corrupt, and messing with the keyring won't change that. You have a stability problem somewhere, your connection, RAM, disk, etc.
Online