การแก้ข้อผิดพลาดอย่างง่าย “The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 DEB.SURY.ORG Automatic Signing Key” ซึ่งจะปรากฏขึ้นเมื่อคุณพยายามอัปเดตแพ็คเกจบนระบบ 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.
ข้อผิดพลาดนี้ยังป้องกันการอัปเดตแพ็คเกจบนเซิร์ฟเวอร์ 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