Простое решение ошибок “The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 DEB.SURY.ORG Automatic Signing Key” который появляется, когда вы пытаетесь обновить пакеты в Debian Systems.
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.
Эта ошибка также предотвращает обновление пакетов на серверах Debian с помощью WordOps. (wo stack upgrade)
Связанный: Как установить и настроить LEMP на Debian 12
The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 DEB.SURY.ORG Automatic Signing Key
Эта ошибка появляется потому, что sury.org изменила ключ на цифровую подпись для Debian и исправить проблему, которую вы должны загрузить новый ключ.
apt-key adv --fetch-keys https://packages.sury.org/php/apt.gpg
После выполнения этого порядка вы можете обновить все пакеты Debian:
apt update && apt upgrade
Те, кто использует WordOps, выполнят командную строку:
wo stack upgrade
Все будет работать гладко при обновлении пакетов на Debian.