在 Debian 12 系统的 SURY 源中出现 “EXPKEYSIG B188E2B695BD4743”错误的解决办法

今天在更新系统之时又是出现类似EXPKEYSIG的错误,因此又需要进行一番处理的说!

下午时分在再次执行apt update的时候又出现一些警告事项,在执行完毕过后再次定位到具体的警告错误:

Hit:1 http://mirrors.cloud.aliyuncs.com/debian bookworm InRelease
Hit:2 http://mirrors.cloud.aliyuncs.com/debian-security bookworm-security InRelease
Hit:3 http://mirrors.cloud.aliyuncs.com/debian bookworm-updates InRelease
Hit:4 http://mirrors.cloud.aliyuncs.com/debian bookworm-backports InRelease
Hit:5 https://nginx.org/packages/mainline/debian bookworm InRelease
Hit:6 https://apt.myvestacp.com/bookworm bookworm InRelease
Get:7 https://packages.sury.org/php bookworm InRelease [6,133 B]
Err:7 https://packages.sury.org/php bookworm InRelease
  The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 DEB.SURY.ORG Automatic Signing Key <deb@sury.org>
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
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 bookworm 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/bookworm/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.

事关 PHP 的后续版本更新,还是需要即刻就着手解决这个问题的。同样的一开始还是不可避免的出现差错没能一下子解决,但最总还是能成功的解决完毕这个问题了。

发布者

ChiuYut

咦?我是谁?这是什么地方? Ya ha!我是ChiuYut!这里是我的小破站!