Garuda-common-settings-r91.33e02af-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)

sudo pacman -Syu gives:
(128/128) checking package integrity [---------------------------------------------------------------------------------------] 100%
error: garuda-common-settings: signature from "Pedro Henrique Lara Campos [email protected]" is invalid
:: File /var/cache/pacman/pkg/garuda-common-settings-r91.33e02af-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)

I ran sudo reflector --country Germany --latest 15 --age 2 --fastest 20 --protocol https --sort rate --save /etc/pacman.d/mirrorlist

which does not help either.
Please advise. Thanks!

1 Like

I have the same error

1 Like

Try

sudo rm -v /var/cache/pacman/pkg/garuda-common-settings-r91.33e02af-1-any.pkg.tar.zst

Then

sudo reflector --country Germany --latest 15 --age 2 --fastest 20 --protocol https --sort rate --save /etc/pacman.d/mirrorlist

Then

sudo pacman -Syyu
1 Like

The file does not exist and the error persists after the update.

Then try to overwrite the file using pacman's --overwrite option. Search the forum or the Archwiki for the --overwrite option usage.

sudo pacman -S chaotic-keyring
sudo pacman-key --refresh-keys
2 Likes

Not works

Sorry I can't do the overwrite command correctly.
Would it be something like this?

sudo pacman -S garuda-common-settings --overwrite=/PATH???   

Keyring update did not help. I will try to overwrite the file

Try:

sudo pacman -Syu garuda-common-settings --overwrite "*"
1 Like

error: garuda-common-settings: signature from "Pedro Henrique Lara Campos <[email protected]>" is invalid

The same issue, suggested steps also not working.

Please do not quote me, and then change the content that I posted ...!!!

Below is what I posted:

Never alter someones content when you quote them, that is just wrong.

Also never post excepts of outputs, always post the entire input and output.

2 Likes

╰─λ sudo pacman -Syu garuda-common-settings --overwrite "*"
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
chaotic-aur is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
Packages (81) bleachbit-4.2.0-1 bluedevil-1:5.20.5-1 breeze-5.20.5-1 chaotic-mirrorlist-20210104-1
elfutils-0.182-1 ethtool-1:5.10-1 fzf-0.25.0-1 garuda-dr460nized-r99.ecea842-1
garuda-fish-config-r27.059583a-1 gdbm-1.19-1 glslang-11.1.0-1 gst-plugins-bad-1.18.2-2
gst-plugins-bad-libs-1.18.2-2 haveged-1.9.14-1 hblock-3.1.3-1 iana-etc-20201229-1
imagemagick-7.0.10.56-1 kactivitymanagerd-5.20.5-1 kde-cli-tools-5.20.5-1
kde-gtk-config-5.20.5-1 kdecoration-5.20.5-1 kdeplasma-addons-5.20.5-1 khotkeys-5.20.5-1
kinfocenter-5.20.5-1 kio-fuse-5.0.0-1 kmenuedit-5.20.5-1 knetattach-5.20.5-1 kscreen-5.20.5-1
kscreenlocker-5.20.5-1 ksysguard-5.20.5-1 kwallet-pam-5.20.5-1 kwayland-integration-5.20.5-1
kwayland-server-5.20.5-1 kwin-5.20.5-1 latte-dock-git-r4697.b9b41317-1 lib32-ocl-icd-2.2.14-1
libelf-0.182-1 libkscreen-5.20.5-1 libksysguard-5.20.5-1 libqalculate-3.16.0-1
libsynctex-2020.54586-9 linux-5.10.4.arch2-1 mhwd-db-garuda-git-r46.f7a408a-1
mhwd-garuda-git-r19.6658e66-1 milou-5.20.5-1 mkinitcpio-busybox-1.32.1-1 nettle-3.7-1
nohang-git-0.2.0.r3.g23580d3-1 noto-fonts-20201226-1 ocl-icd-2.2.14-1 openexr-2.5.4-1
p7zip-17.03-1 perl-file-listing-6.14-1 perl-http-cookies-6.10-1 perl-http-message-6.27-1
pipewire-0.3.19-1 plasma-browser-integration-5.20.5-1 plasma-desktop-5.20.5-1
plasma-integration-5.20.5-1 plasma-nm-5.20.5-1 plasma-pa-5.20.5-1 plasma-thunderbolt-5.20.5-1
plasma-vault-5.20.5-1 plasma-workspace-5.20.5-1 polkit-kde-agent-5.20.5-1 poppler-21.01.0-1
poppler-qt5-21.01.0-1 powerdevil-5.20.5-1 python-psutil-5.8.0-1 python-pyqt5-5.15.2-3
qtermwidget-0.16.1-3 rav1e-0.3.5-1 sddm-kcm-5.20.5-1 shared-mime-info-2.0+57+gc1d1c70-1
systemsettings-5.20.5-1 tcl-8.6.11-1 texlive-bin-2020.54586-9 webkit2gtk-2.30.4-3 xapp-2.0.5-1
xdg-desktop-portal-kde-5.20.5-1 garuda-common-settings-r91.33e02af-1
Total Download Size: 0,05 MiB
Total Installed Size: 700,39 MiB
Net Upgrade Size: 21,52 MiB
:: Proceed with installation? [Y/n] Y
:: Retrieving packages...
garuda-common-settings-r91.33e02af... 53,1 KiB 0,00 B/s 00:00 [--------------------------------------] 99%
(81/81) checking keys in keyring [--------------------------------------] 100%
(81/81) checking package integrity [--------------------------------------] 100%
error: garuda-common-settings: signature from "Pedro Henrique Lara Campos [email protected]" is invalid
:: File /var/cache/pacman/pkg/garuda-common-settings-r91.33e02af-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] Y
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.

Reply... Y

If it doesn't work the first time, repeat the process over again.

1 Like

Tried, added to previous post, sorry. No help even when run several times

Try:

sudo pacman-key --keyserver hkp://keyserver.ubuntu.com -r 3056513887B78AEB 8A9E14A07010F7E3
sudo pacman-key --lsign-key 3056513887B78AEB
sudo pacman-key --lsign-key 8A9E14A07010F7E3 

Then repeat process above.

Tried already before, still the same.

Try:

sudo rm -v /var/cache/pacman/pkg/garuda-common-settings-*
1 Like

Tried this as well + reflector update + Pacman -Syu --overwrite...
No success til now; package remains 'invalid or corrupted'

1 Like

I tried to remove all packages from there, but it still download new one and throw the same error. Could not be issue with the source package directly?

garuda-common-settings-r91.33e02af-1-any 231,4 MiB 14,0 MiB/s 00:16 [--------------------------------------------------------] 96%
garuda-dr460nized-r100.c1180a4-1-any 238,6 MiB 13,7 MiB/s 00:17 [--------------------------------------------------------] 99%
garuda-fish-config-r27.059583a-1-any 238,6 MiB 13,5 MiB/s 00:18 [--------------------------------------------------------] 99%
hblock-3.1.3-1-any 238,6 MiB 13,4 MiB/s 00:18 [--------------------------------------------------------] 99%
latte-dock-git-r4697.b9b41317-1-x86_64 239,7 MiB 13,3 MiB/s 00:18 [--------------------------------------------------------] 99%
mhwd-db-garuda-git-r46.f7a408a-1-any 239,8 MiB 13,1 MiB/s 00:18 [--------------------------------------------------------] 99%
mhwd-garuda-git-r19.6658e66-1-any 239,8 MiB 13,0 MiB/s 00:19 [--------------------------------------------------------] 99%
(81/81) checking keys in keyring [--------------------------------------------------------] 100%
(81/81) checking package integrity [--------------------------------------------------------] 100%
error: garuda-common-settings: signature from "Pedro Henrique Lara Campos [email protected]" is invalid
:: File /var/cache/pacman/pkg/garuda-common-settings-r91.33e02af-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]