I am trying to install libapache2-mod-php8.1 on Debian 10.13.
What I tried doing is the following:
- Add https://deb.sury.org/ as package repo:
curl -sSL https://packages.sury.org/php/README.txt | bash -x apt update
- Installing libapache2-mod-php8.1:
apt-get install libapache2-mod-php8.1
But I get the following error:
Need to get 1,607 kB of archives.
After this operation, 5,433 kB of additional disk space will be used.
Err:1 https://packages.sury.org/php buster/main amd64 libapache2-mod-php8.1 amd64 8.1.7-2+0~20220625.22+debian10~1.gbp4d1949
404 Not Found [IP: X.X.X.X 443]
E: Failed to fetch https://packages.sury.org/php/pool/main/p/php8.1/libapache2-mod-php8.1_8.1.7-2+0~20220625.22+debian10~1.gbp4d1949_amd64.deb 404 Not Found [IP: X.X.X.X 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
What am I doing wrong or what can I do to fix this?