[Pkg-openldap-devel] Bug#596343: failed slapd package install in testing

Balaz Gasparic balaz.job at gmail.com
Tue Jan 25 09:14:28 UTC 2011


hi maintainer,


I dont know if this case is already open, but I have an issue with slapd 
package install in testing.

# aptitude install slapd
The following NEW packages will be installed:
   slapd
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/1,502 kB of archives. After unpacking 3,916 kB will be used.
Preconfiguring packages ...
Selecting previously deselected package slapd.
(Reading database ... 42614 files and directories currently installed.)
Unpacking slapd (from .../slapd_2.4.23-7_i386.deb) ...
Processing triggers for man-db ...
Setting up slapd (2.4.23-7) ...
Usage: slappasswd [options]
   -c format     crypt(3) salt format
   -g            generate random password
   -h hash       password scheme
   -n            omit trailing newline
   -s secret     new password
   -u            generate RFC2307 values (default)
   -v            increase verbosity
   -T file       read file for new password
   Creating initial configuration... Loading the initial configuration 
from the ldif file () failed with
the following error while running slapadd:
     str2entry: invalid value for attributeType olcRootPW #0 (syntax 
1.3.6.1.4.1.1466.115.121.1.15)
     slapadd: could not parse entry (line=1052)
dpkg: error processing slapd (--configure):
  subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
                                       Errors were encountered while 
processing:
  slapd
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up slapd (2.4.23-7) ...
Usage: slappasswd [options]
   -c format     crypt(3) salt format
   -g            generate random password
   -h hash       password scheme
   -n            omit trailing newline
   -s secret     new password
   -u            generate RFC2307 values (default)
   -v            increase verbosity
   -T file       read file for new password
   Creating initial configuration... mkdir: cannot create directory 
`/etc/ldap/slapd.d': File exists
dpkg: error processing slapd (--configure):
  subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
  slapd

# apt-get install migrationtools
Reading package lists... Done
Building dependency tree
Reading state information... Done
migrationtools is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up slapd (2.4.23-7) ...
Usage: slappasswd [options]
   -c format     crypt(3) salt format
   -g            generate random password
   -h hash       password scheme
   -n            omit trailing newline
   -s secret     new password
   -u            generate RFC2307 values (default)
   -v            increase verbosity
   -T file       read file for new password
   Creating initial configuration... mkdir: cannot create directory 
`/etc/ldap/slapd.d': File exists
dpkg: error processing slapd (--configure):
  subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
                                       Errors were encountered while 
processing:
  slapd
E: Sub-process /usr/bin/dpkg returned an error code (1)


If you need any additional info, I will gladly help.

regards,
BG





More information about the Pkg-openldap-devel mailing list