libcurl4-openssl-dev的未满足依赖项

时间:2016-01-10 13:58:55

标签: r linux ubuntu

我需要在ubuntu 14.04

上安装libcurl4-openssl-dev

我曾尝试 sudo apt-get install libcurl4-openssl-dev sudo apt-get install -f libcurl4-openssl-dev ,但返回:

  

The following packages have unmet dependencies: libcurl4-openssl-dev : Depends: librtmp-dev but it is not going to be installed E: Unable to correct problems, you have held broken packages.

然后我尝试 sudo apt-get install librtmp-dev ,返回:

  

The following packages have unmet dependencies: librtmp-dev : Depends: libgnutls-dev but it is not going to be installed E: Unable to correct problems, you have held broken packages

然后.. sudo apt-get install libgnutls-dev ,返回:

  

The following packages have unmet dependencies: libgnutls-dev : Depends: libgcrypt11-dev (>= 1.4.0) but it is not going to be installed Depends: libtasn1-6-dev but it is not going to be installed Depends: libp11-kit-dev (>= 0.4) but it is not going to be installed E: Unable to correct problems, you have held broken packages.

依赖是无止境的......

1 个答案:

答案 0 :(得分:4)

在Ubuntu 14.04上的R中安装RCurl时遇到了同样的问题。 问题是libcurl4-openssl-dev依赖于librtmp-dev,它取决于libgnutls-dev,它取决于libgcrypt11-dev(> = 1.4.0)。

Ubuntu 14.04(至少我的发行版)有libgcrypt20-dev,它不允许在同一环境中允许版本20和版本11。但是,您可以使用

进行安装
sudo apt-get build-dep libcurl4-openssl-dev
sudo apt-get install libcurl4-openssl-dev

但它将用版本11取代libgcrypt20-dev。

相关问题