package slapd 2.4.42+dfsg-2ubuntu3.1 failed to install/upgrade: подпроцесс установлен сценарий post-installation возвратил код ошибки 1

Bug #1660447 reported by Pavel E. Tomnikov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openldap (Ubuntu)
New
Undecided
Unassigned

Bug Description

An error has occurred in the transition from version 14.04 to 16.04

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: slapd 2.4.42+dfsg-2ubuntu3.1
ProcVersionSignature: Ubuntu 3.13.0-83.127-generic 3.13.11-ckt35
Uname: Linux 3.13.0-83-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
Date: Mon Jan 30 23:43:39 2017
ErrorMessage: подпроцесс установлен сценарий post-installation возвратил код ошибки 1
InstallationDate: Installed on 2014-05-09 (997 days ago)
InstallationMedia: Ubuntu-Server 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.2)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.1
 apt 1.2.19
SourcePackage: openldap
Title: package slapd 2.4.42+dfsg-2ubuntu3.1 failed to install/upgrade: подпроцесс установлен сценарий post-installation возвратил код ошибки 1
UpgradeStatus: Upgraded to xenial on 2017-01-30 (0 days ago)

Revision history for this message
Pavel E. Tomnikov (blwind-5) wrote :
Revision history for this message
Ryan Tandy (rtandy) wrote :

  Backing up /etc/ldap/slapd.d in /var/backups/slapd-2.4.31-1+nmu2ubuntu8.3... done.
  Moving old database directories to /var/backups:
  - directory dc=BlackWind.local... done.
  Loading from /var/backups/slapd-2.4.31-1+nmu2ubuntu8.3:
  - directory dc=BlackWind.local... failed.

Loading the database from the LDIF dump failed with the following
error while running slapadd:
    588fa578 ldif_read_file: checksum error on "/etc/ldap/slapd.d/cn=config/olcDatabase={1}hdb.ldif"
    slapadd: line 1: database #1 (dc=BlackWind.local) not configured to hold "dc=nodomain"; no database configured for that naming context

This happens when you change the olcSuffix of a database but do not remove the old contents. The safe way to do this would have been to use dpkg-reconfigure(8).

Please edit the LDIF file /var/backups/slapd-2.4.31-1+nmu2ubuntu8.3/dc=BlackWind.local.ldif and remove the entry for dc=nodomain, and then try the upgrade again.

See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=546368 for more information.

(BTW, "dc=BlackWind.local" is an unusual suffix. Did you mean to use "dc=BlackWind,dc=local"?)

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.