libcurl4-gnutls-dev: Depende: libldap2-dev mas não será instalado

0

Estou tentando instalar o curl no meu servidor Ubuntu como estava recebendo este erro -

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

Abaixo está o erro -

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

Não sei o que estou fazendo de errado aqui?

Atualização: -

Minha versão do 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
    
por arsenal 11.10.2013 / 23:37

1 resposta

-1

Semelhante a outras perguntas sobre "alguns pacotes não puderam ser instalados", tente

apt-get update
apt-get autoremove
apt-get install -f
    
por poolie 12.10.2013 / 00:19