You are not logged in.

#1 2026-01-20 14:16:44

Maurizio Ferreira
Member
Registered: 2019-03-28
Posts: 103

[SOLVED] Invalid signature while updating.

I'm trying to update a machine rarely used (last time was about 6 months ago)
After having downloaded about 1Gb of packages,
Pacman shows the following message: (my translation from Italian)

checking package integrity
error: linu-api-headers: the signature "Frederik Schwan <frederik.schwan@linux.com"> has an unknown reliability
the file /var/cache/pacman/pkg/linux-api-headers-6.18-1-x86_64.pkg.tar.zst is corrupted
(the package is not valid or is corrupted(PGP signature)).
Do you want to delete it ?

(I reply "n")

same errors on glibc2, gcc-libs, libntgcp2-1, libseccomp, binutils, libtool, ncdu
after those errors, I get the following message:

errors occurred, no packages were updated

and the program terminates.
What can I do ?

Last edited by Maurizio Ferreira (2026-01-20 15:03:43)

Offline

#2 2026-01-20 14:22:24

system72
Member
Registered: 2025-11-22
Posts: 542
Website

Offline

#3 2026-01-20 15:04:57

Maurizio Ferreira
Member
Registered: 2019-03-28
Posts: 103

Re: [SOLVED] Invalid signature while updating.

Thank you very much.
Updating the archlinux-keyring package solved my problem.

Offline

#4 2026-01-31 08:48:20

fenics
Member
Registered: 2019-12-07
Posts: 4

Re: [SOLVED] Invalid signature while updating.

I have problems updating keys on archlinux machines. Can someone suggest a solution?
I'm following the steps to reset the keys

sudo pacman-key --init
sudo pacman-key --populate
sudo pacman -Sy archlinux-keyring
sudo pacman-key --refresh-keys

In all cases, when performing the last step, it stops recording.:

gpg: Receiving error 'atsutane@freethoughts.de ' via WKD: A common mistake
gpg: error reading key: A common error
gpg: Receiving error 'atsutane@freethoughts.de ' via WKD: A common mistake
gpg: error reading key: A common error

Offline

#5 2026-01-31 16:36:35

Maurizio Ferreira
Member
Registered: 2019-03-28
Posts: 103

Re: [SOLVED] Invalid signature while updating.

I solved the problem  with the command:

pacman -Sy --needed archlinux-keyring && pacman -Su

as suggested in the page:

https://wiki.archlinux.org/title/Pacman … _regularly

Offline

#6 2026-01-31 16:42:57

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,528

Re: [SOLVED] Invalid signature while updating.

fenics wrote:

sudo pacman-key --refresh-keys

In all cases, when performing the last step, it stops recording.:

That last step isn't necessary.

For the problem we need actual errors. https://bbs.archlinux.org/viewtopic.php?id=57855

Offline

Board footer

Powered by FluxBB