EXPKEYSIG
debian
ubuntu
Fix EXPKEYSIG B188E2B695BD4743
DEB.SURY.ORG Automatic Signing Key <deb@sury.org> — by Ondřej Surý
Error message
EXPKEYSIG B188E2B695BD4743 DEB.SURY.ORG Automatic Signing Key <deb@sury.org>
Fix commands for Generic (GnuPG)
Method 1 GnuPG keyserver lookup
Fetches the key from a public keyserver using GnuPG. Works on any distro with gpg installed.
$
gpg --keyserver keyserver.ubuntu.com --recv-keys B188E2B695BD4743
$
gpg --list-keys B188E2B695BD4743
Method 2 Direct download
Downloads and imports the key file directly from the vendor.
$
curl -fsSL https://packages.sury.org/php/apt.gpg | gpg --import
After importing the key
Run sudo apt-get update (or your distro's equivalent)
again. If successful you should see Hit: lines with no
EXPKEYSIG warnings. Still broken?
Check that your /etc/apt/sources.list.d/ entry references the correct
[signed-by=…] keyring path.