package slapd 2.4.28-1.1ubuntu4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openldap (Debian) |
Fix Released
|
Unknown
|
|||
openldap (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Attempted to install slapd for the first time, but on a machine recently upgraded from 10.04. I had already installed autofs-ldap before attempting to install slapd. This is my first experiment with LDAP so that's about all I know.
Setting up slapd (2.4.28-1.1ubuntu4) ...
Creating new user openldap... done.
Creating initial configuration... Loading the initial configuration from the ldif file () failed with
the following error while running slapadd:
4f9cbb70 str2entry: invalid value for attributeType olcSuffix #0 (syntax 1.3.6.1.
slapadd: could not parse entry (line=1051)
dpkg: error processing slapd (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
slapd
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: slapd 2.4.28-1.1ubuntu4
ProcVersionSign
Uname: Linux 3.2.0-24-generic x86_64
ApportVersion: 2.0.1-0ubuntu7
AptOrdering:
libodbc1: Install
slapd: Install
libodbc1: Configure
slapd: Configure
Architecture: amd64
Date: Sat Apr 28 23:54:24 2012
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100427.1)
SourcePackage: openldap
Title: package slapd 2.4.28-1.1ubuntu4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to precise on 2012-04-28 (0 days ago)
tags: | removed: need-duplicate-check |
Changed in openldap (Ubuntu): | |
importance: | Undecided → Low |
Changed in openldap (Debian): | |
status: | Unknown → Fix Released |
There isn't enough information (would need debconf info) to say for sure, but this is most likely caused by slapd/domain ending with a dot, or otherwise causing olcSuffix to end up containing an unacceptable character. The former case has been fixed in wily and later.