libcurl4-gnutls-dev: Зависит от: libldap2-dev, но не будет установлен

Я пытаюсь установить curl на моем сервере Ubuntu, так как я получаю эту ошибку -

fatal error: curl.h: No such file or directory

Ниже приведена ошибка -

username@phx7b02c-ee1b:~$ sudo apt-get install libcurl4-gnutls-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-gnutls-dev : Depends: libldap2-dev but it is not going to be installed
E: Broken packages

Я не уверен, что неправильно я я делаю здесь?

Обновление: -

Моя версия Ubuntu -

username@phx7b02c-ee1b:~$ uname -a
Linux phx7b02c-ee1b 2.6.35-22-server #33-Ubuntu SMP Sun Sep 19 20:48:58 UTC 2010 x86_64 GNU/Linux
0
задан 12 October 2013 в 03:55

1 ответ

Аналогично другим вопросам о «не удалось установить некоторые пакеты», попробуйте

apt-get update
apt-get autoremove
apt-get install -f
0
ответ дан 12 October 2013 в 03:55

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

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