Hi,

 

When i want to install OpenLDAP i began with install the deamon and utils with the command

sudo apt-get install slapd ldap-utils

 

I got an error. This is the output:

 

Preconfiguring packages ...

Unquoted string "pm" may clash with future reserved word at /usr/share/perl5/Deb

conf/Element/Noninteractive/Boolean.pm line 5, <GEN1> line 1.

Can't locate object method "new" via package "Debconf::Element::Noninteractive::

Boolean" (perhaps you forgot to load "Debconf::Element::Noninteractive::Boolean"                       

?) at /usr/share/perl5/Debconf/FrontEnd.pm line 68, <GEN1> line 1.

(Reading database ... 52208 files and directories currently installed.)

Unpacking slapd (from .../slapd_2.4.23-6ubuntu6_amd64.deb) ...

Unquoted string "pm" may clash with future reserved word at /usr/share/perl5/Deb                      

conf/Element/Noninteractive/Boolean.pm line 5, <GEN1> line 2.

Can't locate object method "new" via package "Debconf::Element::Noninteractive::                       

Boolean" (perhaps you forgot to load "Debconf::Element::Noninteractive::Boolean"                       

?) at /usr/share/perl5/Debconf/FrontEnd.pm line 68, <GEN1> line 2.

dpkg: error processing /var/cache/apt/archives/slapd_2.4.23-6ubuntu6_amd64.deb (                       

--unpack):

subprocess new pre-installation script returned error exit status 9

Errors were encountered while processing:

/var/cache/apt/archives/slapd_2.4.23-6ubuntu6_amd64.deb

E: Sub-process /usr/bin/dpkg returned an error code (1)

 

I am a newbie to Linux and OpenLAP. I don’t know what this output means, so i can’t solve the problem (for now).

Please can anyone help me?

 

With regards, William