Content
Introductory
If unique PHP We use versions of our Debian server that are available from Sury.org in the trunk we update via then we have previously configured this repositorywhat worked before was APT he updated the packages from it without any problems. However, an update may cause an error in the package manager and you may not be able to access the latest packages. We will remedy this problem in this short troubleshooter.
The symptom
When rootissue the command to update the repository database on a Debian 10 (Buster) system:
apt-get update
then we get the following error or something like this:
Hiba:4 https://packages.sury.org/php buster InRelease Az alábbi aláírások érvénytelenek voltak: EXPKEYSIG B188E2B695BD4743 DEB.SURY.ORG Automatic Signing Key <deb@sury.org> Csomaglisták olvasása... Kész W: Hiba történt az aláírás ellenőrzése közben. A tároló nem frissült, és az előző indexfájl lesz használva. GPG hiba: https://packages.sury.org/php buster InRelease: Az alábbi aláírások érvénytelenek voltak: EXPKEYSIG B188E2B695BD4743 DEB.SURY.ORG Automatic Signing Key <deb@sury.org> W: Sikertelen letöltés: https://packages.sury.org/php/dists/buster/InRelease Az alábbi aláírások érvénytelenek voltak: EXPKEYSIG B188E2B695BD4743 DEB.SURY.ORG Automatic Signing Key <deb@sury.org> W: Néhány indexfájlt nem sikerült letölteni. Figyelmen kívül lettek hagyva, vagy régebbiek lettek felhasználva.
The solution
The signing key for the Sury.org DPA has changed, so we need to change it again. All you have to do is run one command as root:
wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
Then our boot databases are updated again:
apt-get update
Conclusion
If at any time the signing key of a repository changes, as is the case with the Sury.org repository, you just need to download the latest key again. GPG key, and our repository database is now updated. This does not affect any of the Launchpad PPAs (on Ubuntu systems), it only affects the Debian repositories.
- Encyclopedia - GPG key
- How to install newer PHP versions on our Debian 9 (Stretch) LAMP server in PHP-FPM mode
- What should we do if APT gives the warning "Missing signed-by=" or indicates the removal of the "trusted.gpg.d" key while updating our repositories?
- deb.sury.org
- patreon.com - DPA new signing
Hozzászólások
- To post registration and login required
- 446 views


Clarification
Hello,
You may need to remove the key first (I just succeeded)
apt-key del 95BD4743wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg