How to meet depends requirements for libldap-2.4-2
8,100
Resolved with
sudo aptitude install libldap2-dev
At first it suggested to do nothing, I've selected No, then it suggested to downgrade my current install to proper version. I've selected Yes.
Related videos on Youtube
Author by
Arthur Putnam
Updated on September 18, 2022Comments
-
Arthur Putnam over 1 year
I am trying to install the libldap2-dev package.
sudo apt-get install libldap2-dev
I get the following error:
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: libldap2-dev : Depends: libldap-2.4-2 (= 2.4.31-1+nmu2ubuntu8.2) but 2.4.31-1+nmu2ubuntu8.3 is to be installed E: Unable to correct problems, you have held broken packages.
It looks like I need to install 2.4.31-1+nmu2ubuntu8.2 not 2.4.31-1+nmu2ubuntu8.3
I've tried:
sudo apt-get install libldap2-dev=2.4.31-1+nmu2ubuntu8.2
I get the same error when doing so.
I've also found this but am still having trouble: Here
-
fkraiem over 7 yearsYour sources are broken. The latest version of
libldap2-dev
in Trusty depends on version2.4.31-1+nmu2ubuntu8.3
oflibldap-2.4-2
(note that both packages have the same version number). Installing an out-of-date version oflibldap2-dev
is not the correct thing to do. Rather, you should figure out why your archive mirror is not supplying the correct version of it.