package slapd 2.4.42+dfsg-2ubuntu3.1 failed to install/upgrade: подпроцесс установлен сценарий post-installation возвратил код ошибки 1
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+
ProcVersionSign
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)
RelatedPackageV
dpkg 1.18.4ubuntu1.1
apt 1.2.19
SourcePackage: openldap
Title: package slapd 2.4.42+
UpgradeStatus: Upgraded to xenial on 2017-01-30 (0 days ago)
Backing up /etc/ldap/slapd.d in /var/backups/ slapd-2. 4.31-1+ nmu2ubuntu8. 3... done. local.. . done. slapd-2. 4.31-1+ nmu2ubuntu8. 3: local.. . failed.
Moving old database directories to /var/backups:
- directory dc=BlackWind.
Loading from /var/backups/
- directory dc=BlackWind.
Loading the database from the LDIF dump failed with the following slapd.d/ cn=config/ olcDatabase= {1}hdb. ldif" local) not configured to hold "dc=nodomain"; no database configured for that naming context
error while running slapadd:
588fa578 ldif_read_file: checksum error on "/etc/ldap/
slapadd: line 1: database #1 (dc=BlackWind.
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-reconfigur e(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" ?)