Ошибка зависимости при установке curl

Я хотел установить curl для программирования на C. Однако я столкнулся с проблемой зависимости:

$ sudo apt-get install libcurl4-openssl-dev
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: librtmp-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
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:
 libgnutls-dev : Depends: libgnutls-openssl27 (= 2.12.23-12ubuntu2.1) but 3.2.16-1ubuntu2.1ppa1~trusty is to be installed
E: Unable to correct problems, you have held broken packages.

Я проверил libgnutls-openssl27 версию на 3.2.16-1ubuntu2.1ppa1 ~ trusty.

Любая помощь?

1
задан 29 April 2017 в 18:41

1 ответ

Я решил проблему путем выполнения этого:

sudo aptitude install libcurl4-openssl-dev

Это во-первых дало мне одно наивное решение принять, который я не взял. (Поскольку ничто не должно было быть установлено на том решении!) Тогда это дало решение снижение некоторые пакеты. Я принял решение. Теперь, я не знаю, сделал ли я его правильно! Понижение может идти с некоторой проблемой безопасности. Было бы замечательно, если кто-либо может прокомментировать это.

2
ответ дан 29 April 2017 в 18:41

Другие вопросы по тегам:

Похожие вопросы: