简单的错误求解 “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.
此错误还阻止使用WordOps上的Debian服务器上更新软件包。 ((wo stack upgrade)。
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的软件包方面顺利进行。