我正在尝试在 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/