Coming from Trusty, I was used to ldapsearch but I don't have it installed on my new Xerus install:
The program 'ldapsearch' is currently not installed. You can install it by typing:
sudo apt install ldap-utils
But unfortunately this results in an apt conflict that I don't know how to resolve.
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:
ldap-utils : Depends: libldap-2.4-2 (= 2.4.42+dfsg-2ubuntu3) but 2.4.42+dfsg-2ubuntu3.1 is to be installed
E: Unable to correct problems, you have held broken packages.
What should I do to install ldapsearch?
sudo apt install -f
then try installing again.sudo apt update
once again (if not already run).ldap-utils : Depends: libldap-2.4-2 (= 2.4.49+dfsg-2ubuntu1.2) but 2.4.49+dfsg-2ubuntu1.3 is to be installed
. I tried to compile it from the source but I failed.