[Bug 364716] [NEW] slapd upgrade to jaunty tries to dump non local databases

mikmak mikmak at freenux.org
Tue Apr 21 17:56:06 BST 2009

Public bug reported:

during intrepid to jaunty upgrade,

if you have configured non hdb databases (for eg a "ldap" database using
the ldap backend), the preinstallation script tries to dump this remote
DB and of course fails :

Preparing to replace slapd 2.4.11-0ubuntu6.1 (using .../slapd_2.4.15-1ubuntu3_amd64.deb) ...
Stopping OpenLDAP: slapd.
  Dumping to /var/backups/slapd-2.4.11-0ubuntu6.1:
  - directory $mylocaldatabase... done.
  - directory dc=some,dc=remote,dc=org... slapcat: database doesn't support necessary operations.
dpkg: error processing /var/cache/apt/archives/slapd_2.4.15-1ubuntu3_amd64.deb (--unpack):
 subprocess pre-installation script returned error exit status 1
  Backing up /etc/ldap/slapd.d/ in /var/backups/slapd-2.4.15-1ubuntu3... done.
Starting OpenLDAP: slapd.
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

the upgrade script should check that dumped databases are local ;)


** Affects: openldap (Ubuntu)
     Importance: Undecided
         Status: New

slapd upgrade to jaunty tries to dump non local databases
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openldap in ubuntu.

More information about the Ubuntu-server-bugs mailing list