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 Bugs, which is subscribed to 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1702290/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs