package slapd 2.4.31-1+nmu2ubuntu8 failed to install/upgrade: ErrorMessage: il sottoprocesso installato script di post-installation ha restituito lo stato di errore 1

Bug #1309454 reported by trinkity
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openldap (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

upgrade from 13.10 to 14.04 desktop 64bit

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: slapd 2.4.31-1+nmu2ubuntu8
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
Date: Fri Apr 18 12:17:05 2014
DuplicateSignature: package:slapd:2.4.31-1+nmu2ubuntu8:ErrorMessage: il sottoprocesso installato script di post-installation ha restituito lo stato di errore 1
ErrorMessage: ErrorMessage: il sottoprocesso installato script di post-installation ha restituito lo stato di errore 1
InstallationDate: Installed on 2013-10-09 (190 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
SourcePackage: openldap
Title: package slapd 2.4.31-1+nmu2ubuntu8 failed to install/upgrade: ErrorMessage: il sottoprocesso installato script di post-installation ha restituito lo stato di errore 1
UpgradeStatus: Upgraded to trusty on 2014-04-18 (0 days ago)

Revision history for this message
trinkity (trinkity) wrote :
tags: removed: need-duplicate-check
Revision history for this message
trinkity (trinkity) wrote :

solved with
apt-get purge slapd
and
apt-get install -f

Revision history for this message
Ryan Tandy (rtandy) wrote :

Hello,

The log says:

Configurazione di slapd (2.4.31-1+nmu2ubuntu8)...
  Backing up /etc/ldap/slapd.d in /var/backups/slapd-2.4.31-1+nmu2ubuntu3... done.
  Moving old database directories to /var/backups:
  - directory dc=nodomain... done.
  Loading from /var/backups/slapd-2.4.31-1+nmu2ubuntu3:
  - directory dc=nodomain... failed.

Loading the database from the LDIF dump failed with the following
error while running slapadd:
    slapadd: line 29: database #1 (dc=nodomain) not configured to hold "dc=edinform,dc=it"; did you mean to use database #2 (dc=edinform,dc=it)?
dpkg: error processing package slapd (--configure):
 il sottoprocesso installato script di post-installation ha restituito lo stato di errore 1

That doesn't look good. The upgrade scripts seem confused about what your databases are meant to hold.

I know this was a while ago, but do you still have a copy of the configuration that caused this? I'd be interested in seeing the slapd.d contents, or 'slapcat -n0' output (in either case, with sensitive information such as password hashes removed). Perhaps you still have /var/backups/slapd-2.4.31-1+nmu2ubuntu3 around from before the upgrade?

Changed in openldap (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for openldap (Ubuntu) because there has been no activity for 60 days.]

Changed in openldap (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.