Hello,
Since you deleted all the contents out of the /etc/ldap/slapd.d folder,
please delete that folder as well, then the uninstallation will proceed.
The init script could probably be more resilient about this.
** Changed in: openldap (Ubuntu)
Status: New => Confirmed
** Summary changed:
- package slapd 2.4.31-1+nmu2ubuntu8.4 failed to install/upgrade: subprocess
installed pre-removal script returned error exit status 2
+ slapd fails to stop if /etc/ldap/slapd.d/cn=config.ldif is deleted but
/etc/ldap/slapd.d still exists
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openldap in Ubuntu.
https://bugs.launchpad.net/bugs/1702290
Title:
slapd fails to stop if /etc/ldap/slapd.d/cn=config.ldif is deleted but
/etc/ldap/slapd.d still exists
Status in openldap package in Ubuntu:
Confirmed
Bug description:
after i install slapd and remove it's one of folders, couldnt do apt-
get ugrade. It said problem about header
ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: slapd 2.4.31-1+nmu2ubuntu8.4
ProcVersionSignature: Ubuntu 3.13.0-95.142-generic 3.13.11-ckt39
Uname: Linux 3.13.0-95-generic x86_64
NonfreeKernelModules: nvidia wl
ApportVersion: 2.14.1-0ubuntu3.23
AptOrdering:
ldap-utils: Remove
slapd: Remove
Architecture: amd64
Date: Tue Jul 4 15:22:00 2017
DistributionChannelDescriptor:
# This is a distribution channel descriptor
# For more information see
http://wiki.ubuntu.com/DistributionChannelDescriptor
canonical-oem-somerville-trusty-amd64-20140620-0
DpkgHistoryLog:
Start-Date: 2017-07-04 15:21:46
Commandline: apt-get remove slapd ldap-utils
Remove: ldap-utils:amd64 (2.4.31-1+nmu2ubuntu8.4), slapd:amd64
(2.4.31-1+nmu2ubuntu8.4)
DuplicateSignature: package:slapd:2.4.31-1+nmu2ubuntu8.4:subprocess installed
pre-removal script returned error exit status 2
ErrorMessage: subprocess installed pre-removal script returned error exit
status 2
InstallationDate: Installed on 2015-06-03 (761 days ago)
InstallationMedia: Ubuntu 14.04 "Trusty" - Build amd64 LIVE Binary
20140620-04:25
RelatedPackageVersions:
dpkg 1.17.5ubuntu5.7
apt 1.0.1ubuntu2.17
SourcePackage: openldap
Title: package slapd 2.4.31-1+nmu2ubuntu8.4 failed to install/upgrade:
subprocess installed pre-removal script returned error exit status 2
UpgradeStatus: Upgraded to trusty on 2016-05-30 (400 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1702290/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp