在Ubuntu 16.0.4 LTS上安装libcurl4-openssl-dev的问题

时间:2017-01-06 00:04:00

标签: 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.

我该如何解决这个问题?

1 个答案:

答案 0 :(得分:2)

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

sudo aptitude -f install libcurl4-openssl-dev

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