Debian: невозможно установить php7.4-curl - зависит от невозможности установки

Недавно я обновился с debian9 (stretch) до debian10 (buster). Что также включает обновление до php7.4. По какой-то причине php-curl не может быть установлен.

Я запускаю apt install php7.4-curl и получаю следующую ошибку:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 php7.4-curl : Depends: libcurl3 (>= 7.44.0) but it is not installable
E: Unable to correct problems, you have held broken packages.

Я нигде не вижу никаких удерживаемых пакетов. Я пробовал:

apt-mark showhold
dpkg --audit
dpkg --configure -a
apt-get install -f
apt-get clean
apt-get update
apt-get autoremove

Я также пытался удалить завиток, очистку, автоматическое удаление, а затем переустановить. То же самое.

Я пытаюсь установить libcurl3

Package libcurl3 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  libcurl4
2
задан 18 May 2020 в 03:51
1 ответ

debian10 поставляется с php7.3, а не php7.4

https://packages.debian.org/search?suite=all&arch=any&searchon=names&keywords=php7

php 7.4 будет в следующем debian 11 ( прямо в точку).

Вы можете добавить несколько репозиториев, не относящихся к Debian:

wget -qO - https://packages.sury.org/php/apt.gpg | sudo apt-key add -
echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/php.list
sudo apt update
sudo apt install php7.4 php7.4-curl
2
ответ дан 18 May 2020 в 10:09

Теги

Похожие вопросы