package slapd 2.4.28-1.1ubuntu4 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openldap |
Fix Released
|
Unknown
|
|||
openldap (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Tried to upgrade from lucid to precise.
ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: slapd 2.4.28-1.1ubuntu4
ProcVersionSign
Uname: Linux 3.0.0-12-server x86_64
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
Date: Fri May 4 13:08:33 2012
ErrorMessage: ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu-Server 10.04.2 LTS "Lucid Lynx" - Release amd64 (20110211.1)
SourcePackage: openldap
Title: package slapd 2.4.28-1.1ubuntu4 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to precise on 2012-05-04 (0 days ago)
affects: | ubuntu → openldap (Ubuntu) |
tags: | added: lucid2precise |
Changed in openldap: | |
status: | Unknown → Fix Released |
Got up slapd running with this trick http:// bugs.debian. org/cgi- bin/bugreport. cgi?bug= 593550# 10
But still the configure-part seems to fail:
# ps aux slapd-2. 4.25-1. 1ubuntu4. .. done. slapd-2. 4.25-1. 1ubuntu4: dc=sim, dc=no.. . failed.
openldap 2456 3.1 0.8 840172 17560 ? SLsl 13:32 0:08 /usr/sbin/slapd [...]
# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]?
Setting up slapd (2.4.28-1.1ubuntu4) ...
Backing up /etc/ldap/slapd.d in /var/backups/
Moving old database directories to /var/backups:
Loading from /var/backups/
- directory dc=ba5,
Loading the database from the LDIF dump failed with the following backups/ slapd-2. 4.25-1. 1ubuntu4/ dc=ba5, dc=sim, dc=no.ldif: No such file or directory
error while running slapadd:
/var/
dpkg: error processing slapd (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
slapd
E: Sub-process /usr/bin/dpkg returned an error code (1)