Résolution d'erreur simple “The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 DEB.SURY.ORG Automatic Signing Key” ce qui se produit lors de la tentative de mise à jour de paquets sur les systèmes Debian.
Err:10 https://packages.sury.org/php bullseye InRelease
The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 DEB.SURY.ORG Automatic Signing Key <[email protected]>
Fetched 14.1 kB in 1s (14.5 kB/s)
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.sury.org/php bullseye InRelease: The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 DEB.SURY.ORG Automatic Signing Key <[email protected]>
W: Failed to fetch https://packages.sury.org/php/dists/bullseye/InRelease The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 DEB.SURY.ORG Automatic Signing Key <[email protected]>
W: Some index files failed to download. They have been ignored, or old ones used instead.
Ce bug empêche également la mise à jour des packages sur les serveurs Debian avec WordOps. (wo stack upgrade).
En rapport: Comment installer et configurer lemp sur Debian 12
The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 DEB.SURY.ORG Automatic Signing Key
Cette erreur se produit car sury.org a modifié la clé de signature numérique pour Debian et pour résoudre le problème, vous devez télécharger la nouvelle clé.
apt-key adv --fetch-keys https://packages.sury.org/php/apt.gpg
Après avoir exécuté cette commande, vous pouvez mettre à jour tous les packages Debian :
apt update && apt upgrade
Ceux qui utilisent WordOps exécuteront la ligne de commande :
wo stack upgrade
Tout fonctionnera sans problème lors de la mise à jour des paquets sur Debian.