The cause of the failure is:
=====
Desempaquetando slapd (de .../slapd_2.4.11-0ubuntu6_i386.deb) ...
Procesando activadores para man-db ...
Configurando slapd (2.4.11-0ubuntu6) ...
Backing up /etc/ldap/slapd.d/ in /var/backups/slapd-2.4.11-0ubuntu6... done.
chown: no se puede acceder a «/var/run/slapd»: No existe el fichero ó directorio
dpkg: error al procesar slapd (--configure):
el subproceso post-installation script devolvió el código de salida de error 1
=====
This is due to /var/run being of type tmpfs . The fix is to modify the initscript to create the directory in /var/run/ if it does not exist, and then remove anything to do with /var/run from the postinst.
Thanks for your report.
The cause of the failure is: 2.4.11- 0ubuntu6_ i386.deb) ... slapd-2. 4.11-0ubuntu6. .. done.
=====
Desempaquetando slapd (de .../slapd_
Procesando activadores para man-db ...
Configurando slapd (2.4.11-0ubuntu6) ...
Backing up /etc/ldap/slapd.d/ in /var/backups/
chown: no se puede acceder a «/var/run/slapd»: No existe el fichero ó directorio
dpkg: error al procesar slapd (--configure):
el subproceso post-installation script devolvió el código de salida de error 1
=====
This is due to /var/run being of type tmpfs . The fix is to modify the initscript to create the directory in /var/run/ if it does not exist, and then remove anything to do with /var/run from the postinst.