相关疑难解决方法(0)

“curl : Depends: libcurl4 (= 7.61.0-1ubuntu2.2) but it is not going to be installed” Ubuntu 18.10 with PHP 7.2.10

我正在努力在 Ubuntu 18.10 中安装 cURL 模块。从 17.10 升级到 18.10 cURL 被移除/删除。现在当我尝试执行命令时

sudo apt-get install php7.2-curl
Run Code Online (Sandbox Code Playgroud)

我收到此错误:

The following packages have unmet dependencies:
  php7.2-curl :
  Depends: libcurl4 (>= 7.44.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Run Code Online (Sandbox Code Playgroud)
sudo apt-get install curl
Run Code Online (Sandbox Code Playgroud)

给出错误

The following packages have unmet dependencies:
  curl : Depends: libcurl4 (= 7.61.0-1ubuntu2.2) but it is not going to be installed
E: Unable to correct problems, you have held broken …
Run Code Online (Sandbox Code Playgroud)

package-management apt curl php7

5
推荐指数
2
解决办法
1万
查看次数

标签 统计

apt ×1

curl ×1

package-management ×1

php7 ×1