Bug#596343: failed slapd package install in testing

2011-02-14 Thread Atanas Atanasov
I am experiencing a problem identical to that described by Balaz
Gasparic above.  I am running 32-bit squeeze with the most recent
updates. Should we branch this into a separate bug?

Best,
Atanas Atanasov



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#596343: failed slapd package install in testing

2011-01-25 Thread Balaz Gasparic

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
  -ggenerate random password
  -h hash   password scheme
  -nomit trailing newline
  -s secret new password
  -ugenerate RFC2307 values (default)
  -vincrease 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
  -ggenerate random password
  -h hash   password scheme
  -nomit trailing newline
  -s secret new password
  -ugenerate RFC2307 values (default)
  -vincrease 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
  -ggenerate random password
  -h hash   password scheme
  -nomit trailing newline
  -s secret new password
  -ugenerate RFC2307 values (default)
  -vincrease 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



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org