Comment 8 for bug 112631

Revision history for this message
Martin Emrich (emme) wrote : Re: [apport] package slapd failed to install/upgrade:

Hi! I have the same problem here while trying to release-upgrade to hardy from dapper (see also Bug #218311). I just found out what the problem is:

There were two entries in my LDAP database related to a dc=nodomain. I do not know where they came from. These entries keep slapadd from re-inserting the dumped database after the upgrade. I fixed it by removing them:

1. stop your slapd
2. slapcat your DB to a file.
3. make a backup of that file, and your LDAP DB under /var/lib/ldap, just in case...
4. edit that file with a text editor, remove both entries under dc=nodomain
5. remove everything under /var/lib/ldap
6. re-insert your DB with slapadd
7. start slapd.

Now these entries are gone, and the upgrade to the new slapd version starts again.