I need to install libcurl-dev. When sudo apt-get install libcurl4-dev fails.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting libcurl4-gnutls-dev instead of libcurl4-dev
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: libkrb5-dev but it is not going to be installed or
hurd but it is not installable
Depends: libldap2-dev but it is not going to be installed
E: Broken packages
Okay. So I tried to install libcurl4-gnutls-dev. Again the error.
$ 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: libkrb5-dev but it is not going to be installed or
hurd but it is not installable
Depends: libldap2-dev but it is not going to be installed
E: Broken packages
My system is 64bit Kubuntu 10.04 LTS. Completely updated.
Question is how do I install libcurl-dev so that I have curl/curl.h ?
sudo apt-get updateand then installing ibcurl4-dev again. If the problem persists, consider filing a bug report. – bodhi.zazen Dec 25 '11 at 6:12