[Pkg-openldap-devel] Upgrade Failure on wheezy from 2.4.31-1+nmu2 => 2.4.31+really2.4.40-3~bpo70+1
Karsten Heymann
karsten.heymann at gmail.com
Mon Jan 12 09:05:05 UTC 2015
Hi,
I hope posting bug reports about the not yet released wheezy backport
is correct here. I've built them myself from the packages's git
repository.
I tried installing the backport on a system that has 2.4.31-1+nmu2
installed but not configured in any way (/etc/ldap/slapd.d is empty)
and in this case the postinst script fails:
# apt-get -f install -V
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
slapd (2.4.31+really2.4.40-3~bpo70+1)
Suggested packages:
libsasl2-modules-gssapi-mit (2.1.25.dfsg1-6+deb7u1)
libsasl2-modules-gssapi-heimdal (2.1.25.dfsg1-6+deb7u1)
The following packages will be upgraded:
slapd (2.4.31-1+nmu2 => 2.4.31+really2.4.40-3~bpo70+1)
1 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
12 not fully installed or removed.
Need to get 0 B/1,834 kB of archives.
After this operation, 130 kB of additional disk space will be used.
Do you want to continue [Y/n]?
Preconfiguring packages ...
(Reading database ... 30129 files and directories currently installed.)
Preparing to replace slapd 2.4.31-1+nmu2 (using
.../slapd_2.4.31+really2.4.40-3~bpo70+1_amd64.deb) ...
sed: can't read /etc/ldap/slapd.d/cn=config.ldif: No such file or directory
invoke-rc.d: initscript slapd, action "stop" failed.
dpkg: warning: subprocess old pre-removal script returned error exit status 2
dpkg: trying script from the new package instead ...
sed: can't read /etc/ldap/slapd.d/cn=config.ldif: No such file or directory
invoke-rc.d: initscript slapd, action "stop" failed.
dpkg: error processing
/var/cache/apt/archives/slapd_2.4.31+really2.4.40-3~bpo70+1_amd64.deb
(--unpack):
subprocess new pre-removal script returned error exit status 2
Backing up /etc/ldap/slapd.d in
/var/backups/slapd-2.4.31+really2.4.40-3~bpo70+1... done.
grep: /etc/ldap/slapd.d/cn=config/olcDatabase*.ldif: No such file or directory
sed: can't read /etc/ldap/slapd.d/cn=config.ldif: No such file or directory
invoke-rc.d: initscript slapd, action "start" failed.
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/slapd_2.4.31+really2.4.40-3~bpo70+1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Best regards,
Karsten
More information about the Pkg-openldap-devel
mailing list