Debian 9.4: php7.2-curl をインストールできません

Debian 9.4: php7.2-curl をインストールできません

Debian 9.4でよく知られているリポジトリdeb.sury.orgにphp7.2-curlライブラリをインストールしてみてください。しかし、エラーが発生します。

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

それでは、通常のDebianリポジトリにlibcurl3のみがあるように見えた場合、libcurl4をどのようにインストールしますか?

ベストアンサー1

ここで最も簡単な解決策は基本php7.2-curl的にその依存関係がすでにあるため、Debian 10/Busterにアップグレードすることです。

明らかにBusterにアップグレードした後、deb.sury.orgリポジトリは必要ありません。

Debianパッケージから:https://packages.debian.org/sid/php7.2-curl

おすすめ記事