crafter2345
Active member
I wanted to normally do my hourly
apt update && apt upgrade
but the key was wrong, so I've googled it and tryied to get a new key with wget, but it still doesnt work.root@3436 ~ $ wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
--2021-03-17 12:58:28-- https://packages.sury.org/php/apt.gpg
Resolving packages.sury.org (packages.sury.org)... 2606:4700:3030::ac43:b696, 2606:4700:3037::6815:1294, 104.21.18.148, ...
Connecting to packages.sury.org (packages.sury.org)|2606:4700:3030::ac43:b696|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1769 (1.7K) [application/octet-stream]
Saving to: '/etc/apt/trusted.gpg.d/php.gpg'
/etc/apt/trusted.gpg.d/php.gpg 100%[======================================================================================================================>] 1.73K --.-KB/s in 0s
2021-03-17 12:58:28 (19.0 MB/s) - '/etc/apt/trusted.gpg.d/php.gpg' saved [1769/1769]
root@3436 ~ $ apt update && apt upgrade
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Hit:2 http://deb.debian.org/debian buster InRelease
Hit:3 http://deb.debian.org/debian buster-updates InRelease
Hit:4 http://ftp.debian.org/debian buster-backports InRelease
Hit:5 http://nginx.org/packages/mainline/debian buster InRelease
Hit:6 https://packages.sury.org/php buster InRelease
Hit:7 http://mirrors.ukfast.co.uk/sites/mariadb/repo/10.5/debian buster InRelease
Hit:8 https://adoptopenjdk.jfrog.io/adoptopenjdk/deb buster InRelease
Err:6 https://packages.sury.org/php buster InRelease
The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 DEB.SURY.ORG Automatic Signing Key <deb@sury.org>
Reading package lists... Done
Building dependency tree
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 buster 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/buster/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.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Last edited: