I'm getting signature "..." is unkoun trust when I'm trying to update this package

This is the output.

sudo pacman -S pcsclite
resolving dependencies...
looking for conflicting packages...

Packages (1) pcsclite-1.9.5-1

Total Download Size:   0,10 MiB
Total Installed Size:  0,30 MiB
Net Upgrade Size:      0,00 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages...
 pcsclite-1.9.5-1...    99,6 KiB   315 KiB/s 00:00 100%
(1/1) checking keys in keyring                     100%
(1/1) checking package integrity                   100%
error: pcsclite: signature from "Frederik Schwan <frederik.schwan@linux.com>" is unknown trust
:: File /var/cache/pacman/pkg/pcsclite-1.9.5-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.

Also when I try updating the whole system it gets stuck on this.
Iā€™ ve also tried:
sudo pacman -S pcsclite --overwrite "*"
with no succes

when do you proceed the last full system update?
if it was long time ago ā€¦ it can happen that you need to update archlinux-keyring before you can check signed packages again.

wget http://mirror.rackspace.com/archlinux/core/os/x86_64/archlinux-keyring-20211028-1-any.pkg.tar.zst
sudo pacman -U archlinux-keyring-20211028-1-any.pkg.tar.zst

and before installing any new package make sure system is up to date:
pacman -Syu


Thanks a lot! Now pacman works as expected.

1 Like

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