ubuntu - 在 Ubuntu 16.0.4 LTS 上安装 libcurl4-openssl-dev 时出现问题

标签 ubuntu openssl libcurl

我正在尝试在 Ubuntu 16.0.4 LTS 上安装 libcurl4-openssl-dev。

这是我运行 sudo apt-get install libcurl4-openssl-dev 时的 CL 输出:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
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.
 libcurl4-openssl-dev : Depends: libcurl3 (= 7.47.0-1ubuntu2) but 7.47.0-1ubuntu2.2 is to be installed
E: Unable to correct problems, you have held broken packages.

我该如何解决这个问题?

最佳答案

我使用 aptitude 解决了这个问题:

sudo aptitude -f install libcurl4-openssl-dev

然后我接受了降级到 libcurl3 的选项。之后问题就解决了。

关于ubuntu - 在 Ubuntu 16.0.4 LTS 上安装 libcurl4-openssl-dev 时出现问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41496857/

相关文章:

ubuntu - 使用 GTK+ 3 在 Ubuntu 14.04 上构建 wxWidgets 时出错

python-3.x - 升级 Python 版本以运行和创建 Sagemaker Endpoint 的自定义容器

python - 使用 psycopg2 通过 SSL 连接到 Google Cloud SQL Postgres 数据库

c - OpenSSL EVP API 中的 EC 和 ECDSA 有什么区别?

c - OpenSSL定制开发

c++ - 如何禁用 ALPN 扩展?

ubuntu - 使用 pdftk 将多个 pdf 页面合并到特定的 pdf 页面

php - Zend Server 8 PDO 无法通过 CLI 找到驱动程序

linux - curl 表达式之间的区别

c - 使用 libCurl 构建 SMTP 客户端