Я пытался сделать следующее:
- Добавьте https://deb.sury.org/ в качестве репозитория пакета:
Код: Выделить всё
curl -sSL https://packages.sury.org/php/README.txt | bash -x apt update
- Установка libapache2-mod-php8.1:
Код: Выделить всё
apt-get install libapache2-mod-php8.1
< pre class="lang-bash Prettyprint-override">
Код: Выделить всё
Hit:1 http://security.debian.org buster/updates InRelease
Hit:2 http://httpredir.debian.org/debian buster InRelease
Hit:3 http://httpredir.debian.org/debian buster-updates InRelease
Err:4 https://packages.sury.org/php buster InRelease
403 Forbidden [IP: X.X.X.X 443]
Ign:5 https://oss-binaries.phusionpassenger.com/apt/passenger buster InRelease
Hit:6 https://oss-binaries.phusionpassenger.com/apt/passenger buster Release
Reading package lists... Done
E: Failed to fetch https://packages.sury.org/php/dists/buster/InRelease 403 Forbidden [IP: X.X.X.X 443]
E: The repository 'https://packages.sury.org/php buster InRelease' is no longer signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Код: Выделить всё
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?
Подробнее здесь: https://stackoverflow.com/questions/787 ... 404-debian