[Pkg-openldap-devel] Bug#774316: Bug#774316: fails to upgrade to jessie with "cannot add entry with empty dn"
Ryan Tandy
ryan at nardis.ca
Wed Dec 31 17:27:22 UTC 2014
Control: tag -1 moreinfo
Hi,
Thanks for the report.
On Tue, Dec 30, 2014 at 06:08:40PM -0500, Antoine Beaupré wrote:
>This package cannot be upgaded to jessie:
>
>Paramétrage de slapd (2.4.40-3) ...
> Backing up /etc/ldap/slapd.d in /var/backups/slapd-2.4.31-1+nmu2... done.
> Moving old database directories to /var/backups:
> Loading from /var/backups/slapd-2.4.31-1+nmu2:
> - directory dc=koumbit,dc=org... failed.
>
>Loading the database from the LDIF dump failed with the following
>error while running slapadd:
> slapadd: line 1: cannot add entry with empty dn=""
At first glance this sounds like an invalid configuration. Assuming the
messages are accurate, slapadd is correct in refusing to add entries
that are outside of the configured suffix. Basically I expect this to be
a duplicate of #546368. Do you think that's correct?
The good news is, if that's the case, then if you edit
/var/backups/slapd-2.4.31-1+nmu2/dc=koumbit,dc=org.ldif and remove the
offending entries, retrying the upgrade with 'apt-get -f install' should
succeed.
thanks,
Ryan
More information about the Pkg-openldap-devel
mailing list