I followed this tutorial https://www.howtoforge.com/ispconfig-php-debian/ to install php 8.2 when i try to update teh server with apt-get update && apt-get upgrade i get all these below errors Err:1 https://packages.sury.org/php bookworm/main amd64 php8.2-opcache amd64 8.2.15-1+0~20240120.39+debian12~1.gbp56f296 404 Not Found [IP: 212.102.40.114 443] Err:2 https://packages.sury.org/php bookworm/main amd64 php8.2-readline amd64 8.2.15-1+0~20240120.39+debian12~1.gbp56f296 404 Not Found [IP: 212.102.40.114 443] Err:3 https://packages.sury.org/php bookworm/main amd64 php8.2-cli amd64 8.2.15-1+0~20240120.39+debian12~1.gbp56f296 404 Not Found [IP: 212.102.40.114 443] Err:4 https://packages.sury.org/php bookworm/main amd64 libapache2-mod-php8.2 amd64 8.2.15-1+0~20240120.39+debian12~1.gbp56f296 404 Not Found [IP: 212.102.40.114 443] Err:5 https://packages.sury.org/php bookworm/main amd64 php8.2-zip amd64 8.2.15-1+0~20240120.39+debian12~1.gbp56f296 404 Not Found [IP: 212.102.40.114 443] Err:6 https://packages.sury.org/php bookworm/main amd64 php8.2-xml amd64 8.2.15-1+0~20240120.39+debian12~1.gbp56f296 404 Not Found [IP: 212.102.40.114 443] Err:7 https://packages.sury.org/php bookworm/main amd64 php8.2-tidy amd64 8.2.15-1+0~20240120.39+debian12~1.gbp56f296 404 Not Found [IP: 212.102.40.114 443] Err:8 https://packages.sury.org/php bookworm/main amd64 php8.2-sqlite3 amd64 8.2.15-1+0~20240120.39+debian12~1.gbp56f296 404 Not Found [IP: 212.102.40.114 443] Err:9 https://packages.sury.org/php bookworm/main amd64 php8.2-soap amd64 8.2.15-1+0~20240120.39+debian12~1.gbp56f296 404 Not Found [IP: 212.102.40.114 443] Err:10 https://packages.sury.org/php bookworm/main amd64 php8.2-pspell amd64 8.2.15-1+0~20240120.39+debian12~1.gbp56f296 404 Not Found [IP: 212.102.40.114 443] Err:11 https://packages.sury.org/php bookworm/main amd64 php8.2-mysql amd64 8.2.15-1+0~20240120.39+debian12~1.gbp56f296 404 Not Found [IP: 212.102.40.114 443] Err:12 https://packages.sury.org/php bookworm/main amd64 php8.2-mbstring amd64 8.2.15-1+0~20240120.39+debian12~1.gbp56f296 404 Not Found [IP: 212.102.40.114 443] Err:13 https://packages.sury.org/php bookworm/main amd64 php8.2-intl amd64 8.2.15-1+0~20240120.39+debian12~1.gbp56f296 404 Not Found [IP: 212.102.40.114 443] Err:14 https://packages.sury.org/php bookworm/main amd64 php8.2-imap amd64 8.2.15-1+0~20240120.39+debian12~1.gbp56f296 404 Not Found [IP: 212.102.40.114 443] Err:15 https://packages.sury.org/php bookworm/main amd64 php8.2-gd amd64 8.2.15-1+0~20240120.39+debian12~1.gbp56f296 404 Not Found [IP: 212.102.40.114 443] Err:16 https://packages.sury.org/php bookworm/main amd64 php8.2-fpm amd64 8.2.15-1+0~20240120.39+debian12~1.gbp56f296 404 Not Found [IP: 212.102.40.114 443] Err:17 https://packages.sury.org/php bookworm/main amd64 php8.2-enchant amd64 8.2.15-1+0~20240120.39+debian12~1.gbp56f296 404 Not Found [IP: 212.102.40.114 443] Err:18 https://packages.sury.org/php bookworm/main amd64 php8.2-curl amd64 8.2.15-1+0~20240120.39+debian12~1.gbp56f296 404 Not Found [IP: 212.102.40.114 443] Err:19 https://packages.sury.org/php bookworm/main amd64 php8.2-cgi amd64 8.2.15-1+0~20240120.39+debian12~1.gbp56f296 404 Not Found [IP: 212.102.40.114 443] Err:20 https://packages.sury.org/php bookworm/main amd64 php8.2-common amd64 8.2.15-1+0~20240120.39+debian12~1.gbp56f296 404 Not Found [IP: 212.102.40.114 443] Err:21 https://packages.sury.org/php bookworm/main amd64 php8.2 all 8.2.15-1+0~20240120.39+debian12~1.gbp56f296 404 Not Found [IP: 212.102.40.114 443] Err:22 https://packages.sury.org/php bookworm/main amd64 php8.2-xsl all 8.2.15-1+0~20240120.39+debian12~1.gbp56f296 404 Not Found [IP: 212.102.40.114 443] E: Failed to fetch https://packages.sury.org/php/pool/...+0~20240120.39+debian12~1.gbp56f296_amd64.deb 404 Not Found [IP: 212.102.40.114 443] E: Failed to fetch https://packages.sury.org/php/pool/...+0~20240120.39+debian12~1.gbp56f296_amd64.deb 404 Not Found [IP: 212.102.40.114 443] E: Failed to fetch https://packages.sury.org/php/pool/...+0~20240120.39+debian12~1.gbp56f296_amd64.deb 404 Not Found [IP: 212.102.40.114 443] E: Failed to fetch https://packages.sury.org/php/pool/...+0~20240120.39+debian12~1.gbp56f296_amd64.deb 404 Not Found [IP: 212.102.40.114 443] E: Failed to fetch https://packages.sury.org/php/pool/...+0~20240120.39+debian12~1.gbp56f296_amd64.deb 404 Not Found [IP: 212.102.40.114 443] E: Failed to fetch https://packages.sury.org/php/pool/...+0~20240120.39+debian12~1.gbp56f296_amd64.deb 404 Not Found [IP: 212.102.40.114 443] E: Failed to fetch https://packages.sury.org/php/pool/...+0~20240120.39+debian12~1.gbp56f296_amd64.deb 404 Not Found [IP: 212.102.40.114 443] E: Failed to fetch https://packages.sury.org/php/pool/...+0~20240120.39+debian12~1.gbp56f296_amd64.deb 404 Not Found [IP: 212.102.40.114 443] E: Failed to fetch https://packages.sury.org/php/pool/...+0~20240120.39+debian12~1.gbp56f296_amd64.deb 404 Not Found [IP: 212.102.40.114 443] E: Failed to fetch https://packages.sury.org/php/pool/...+0~20240120.39+debian12~1.gbp56f296_amd64.deb 404 Not Found [IP: 212.102.40.114 443] E: Failed to fetch https://packages.sury.org/php/pool/...+0~20240120.39+debian12~1.gbp56f296_amd64.deb 404 Not Found [IP: 212.102.40.114 443] E: Failed to fetch https://packages.sury.org/php/pool/...+0~20240120.39+debian12~1.gbp56f296_amd64.deb 404 Not Found [IP: 212.102.40.114 443] E: Failed to fetch https://packages.sury.org/php/pool/...+0~20240120.39+debian12~1.gbp56f296_amd64.deb 404 Not Found [IP: 212.102.40.114 443] E: Failed to fetch https://packages.sury.org/php/pool/...+0~20240120.39+debian12~1.gbp56f296_amd64.deb 404 Not Found [IP: 212.102.40.114 443] E: Failed to fetch https://packages.sury.org/php/pool/...+0~20240120.39+debian12~1.gbp56f296_amd64.deb 404 Not Found [IP: 212.102.40.114 443] E: Failed to fetch https://packages.sury.org/php/pool/...+0~20240120.39+debian12~1.gbp56f296_amd64.deb 404 Not Found [IP: 212.102.40.114 443] E: Failed to fetch https://packages.sury.org/php/pool/...+0~20240120.39+debian12~1.gbp56f296_amd64.deb 404 Not Found [IP: 212.102.40.114 443] E: Failed to fetch https://packages.sury.org/php/pool/...+0~20240120.39+debian12~1.gbp56f296_amd64.deb 404 Not Found [IP: 212.102.40.114 443] E: Failed to fetch https://packages.sury.org/php/pool/...+0~20240120.39+debian12~1.gbp56f296_amd64.deb 404 Not Found [IP: 212.102.40.114 443] E: Failed to fetch https://packages.sury.org/php/pool/...+0~20240120.39+debian12~1.gbp56f296_amd64.deb 404 Not Found [IP: 212.102.40.114 443] E: Failed to fetch https://packages.sury.org/php/pool/...-1+0~20240120.39+debian12~1.gbp56f296_all.deb 404 Not Found [IP: 212.102.40.114 443] E: Failed to fetch https://packages.sury.org/php/pool/...-1+0~20240120.39+debian12~1.gbp56f296_all.deb 404 Not Found [IP: 212.102.40.114 443] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Your entry in /etc/apt/sources.list.d/php.list for the repo seems to be incorrect here. Make sure it is following this example: Code: deb https://packages.sury.org/php/ bookworm main
so at the end of all these errors it says Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? when i do that, i get another error An error occurred during the signature verification. The repository is not up dated and the previous index files will be used. GPG error: https://packages.sury.org/php bookworm InRelease: The following signatures were invalid after a google search it says to do this apt-key adv --fetch-keys 'https://packages.sury.org/php/apt.gpg' > /dev/null 2>&1 after that i got a new error Repository 'Debian bookworm' changed its 'non-free component' value from 'non-free' to 'non-free non-free-firmware' and after google search it says to do this su -c 'echo "APT::Get::Update::SourceListWarnings::NonFreeFirmware \"false\";" > /etc/apt/apt.conf.d/no-bookworm-firmware.conf' then i ran again apt-get update then i ran apt-get update && apt-get upgrade and now it works!!