You are here
Witzker - Thu, 2025/02/27 - 12:16
Hi,
I would need your help pls in updating the server with Nextcloud.
I run: apt update && apt full-upgrade
output:
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
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 W: Some index files failed to download. They have been ignored, or old ones used instead.
Do you want to continue? [Y/n] y
Err:1 https://packages.sury.org/php bullseye/main amd64 php-common all 2:94+0~20240205.51+debian11~1.gbp6faa2e 404 Not Found [IP: 185.180.12.68 443]
E: Failed to fetch https://packages.sury.org/php/pool/main/p/php-defaults/php-common_94%2b0... 404 Not Found [IP: 185.180.12.68 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? ---
As I'm not clever in server stuff, jet!? I was searching and found this: https://github.com/MichaIng/DietPi/issues/4219 BUT it did not solve my problem! I guess it's an expired key? BUT I don't know How-To-Fix. I hope you will find time to help me to solve this so I can get my server updated.
Many THX
Regards Witzker
PS: as I intend also to update Debian to latest version - may be its good to to this and mayby the problen is gone with the Debian Update
what will you recommend?
Many THX
I run: apt update && apt full-upgrade
output:
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
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 W: Some index files failed to download. They have been ignored, or old ones used instead.
Do you want to continue? [Y/n] y
Err:1 https://packages.sury.org/php bullseye/main amd64 php-common all 2:94+0~20240205.51+debian11~1.gbp6faa2e 404 Not Found [IP: 185.180.12.68 443]
E: Failed to fetch https://packages.sury.org/php/pool/main/p/php-defaults/php-common_94%2b0... 404 Not Found [IP: 185.180.12.68 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? ---
As I'm not clever in server stuff, jet!? I was searching and found this: https://github.com/MichaIng/DietPi/issues/4219 BUT it did not solve my problem! I guess it's an expired key? BUT I don't know How-To-Fix. I hope you will find time to help me to solve this so I can get my server updated.
Many THX
Regards Witzker
PS: as I intend also to update Debian to latest version - may be its good to to this and mayby the problen is gone with the Debian Update
what will you recommend?
Many THX
Forum:
Hi there, deep apologies for slow response
Sorry to be so slow responding. I've been snowed under...
As you suspected, it looks like the sury.org key for PHP is outdated. The steps you tried (via the link you shared) were close, but we put the key in a different place. The only thing you should need to do is download the new key and put it in the right place: /usr/share/keyrings/php-sury.org.gpg.. This should do the trick:
Then re-run the apt commands - although you'll almost certainly need to update the actual PHP version too.
The above is probably enough to keep you going but IMO you'd be better off updating the whole server. There is a doc page which should give you some ideas. Also, I have provided some more info in a previous forum post. I hope that gives you a solid start.
If you get stuck, please post back and I'll try to reply ASAP.
Add new comment