Update Debian key for Sury PHP packages

Categories: Linux, Bash

Just run this:

apt-key del 95BD4743; wget -nv -O - "https://packages.sury.org/php/apt.gpg" | apt-key add -

Reference: https://forum.yunohost.org/t/something-went-wrong-while-updating-the-cache-of-apt-due-to-sury/15024/5

Alternative:

wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg

Reference: Failed to fetch https://packages.sury.org/php/dists/stretch/InRelease – Jesús Amieiro (jesusamieiro.com)

«
»