Comment 24 for bug 112631

Revision history for this message
Nathan Stratton Treadway (nathanst) wrote : Re: [apport] package slapd failed to install/upgrade:

Murray,
While they both do involve a failure of the configuration process for the slapd package during an upgrade, I think the original bug report and your problem have separate root causes.

In particular, the problem discussed in the original bug report relates to problems caused by invalid records that somehow crept into the LDAP database (but which were in that database before the package upgrade was started).

In your case, though, there's no problem with the data in the LDAP database; instead you are getting errors caused by the fact that between Edgy and Karmic the openldap packages switched from v4.2 to v4.7 of the Berkeley Database libraries, and so the newly-install tools are refusing to work with the existing database files. (The DB-library version change is mentioned in the Debian changelog entry for openldap v2.4.15-1 .)

Anyway, I am running into this same problem when attempting to upgrade from Hardy directly to Lucid. Since that's an LTS-to-LTS upgrade, I believe it's supposed to be a supported upgrade path, and so I opened a bug report on that particular issue, bug #536958. Your situation (Edgy -> Karmic) is a little different, but if a workaround or fix is found for that bug perhaps it will apply to your sitation as well....

Nathan