Preprost popravek za napako "The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 DEB.SURY.ORG Automatic Signing Key«, ki se prikaže, ko poskušate posodobiti pakete v sistemih Debian.
Err:10 https://packages.sury.org/php bullseye InRelease
The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 DEB.SURY.ORG Automatic Signing Key <deb@sury.org>
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 <deb@sury.org>
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 <deb@sury.org>
W: Some index files failed to download. They have been ignored, or old ones used instead.
Ta napaka tudi preprečuje posodobitev paketov na strežnikih Debian z WordUps. (wo stack upgrade
).
Povezano: Kako namestiti in konfigurirati LEMP na Debian 12
The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 DEB.SURY.ORG Automatic Signing Key
Do te napake pride, ker je sury.org spremenil ključ digitalnega podpisa za Debian in za odpravo težave morate prenesti nov ključ.
apt-key adv --fetch-keys https://packages.sury.org/php/apt.gpg
Ko zaženete ta ukaz, lahko posodobite vse pakete Debian:
apt update && apt upgrade
Tisti, ki uporabljajo WordOps bo zagnal ukazno vrstico:
wo stack upgrade
Pri posodabljanju paketov na Debianu bo vse delovalo brez težav.