← Back to team overview

enterprise-support team mailing list archive

[Bug 974966] Re: package slapd 2.4.28-1.1ubuntu3 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1

 

Hi! The relevant error message is:

 Backing up /etc/ldap/slapd.d in /var/backups/slapd-2.4.25-1.1ubuntu4.1... 
  Backing up /etc/ldap/slapd.d in /var/backups/slapd-2.4.25-1.1ubuntu4.1... done.
  Moving old database directories to /var/backups:
  - directory dc=nodomain... 
  - directory dc=nodomain... done.
  Loading from /var/backups/slapd-2.4.25-1.1ubuntu4.1: 
  - directory dc=nodomain... 
  - chowning database directory (openldap:openldap)... 
  - chowning database directory (openldap:openldap)... done
  Directory /var/lib/ldap for dc=eeeserver not empty, aborting.
dpkg: error processing slapd (--configure):

It looks like the package ran into a situation where it couldn't do
anything without potentially destroying data, so it aborted. I'd
recommend moving /var/lib/ldap/* out of the way if you don't actually
need any of the data, then running

sudo dpkg --configure -a

to finish this process.

This isn't a bug so much as an unfortunate situation, so closing the
report as Invalid. If you have additional information that may show that
there is a bug here, please feel free to set the status back to New.

** Changed in: openldap (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to openldap in Ubuntu.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/974966

Title:
  package slapd 2.4.28-1.1ubuntu3 failed to install/upgrade:
  ErrorMessage: subprocess installed post-installation script returned
  error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/974966/+subscriptions