I forgot to say that I deleted one of the extra slashes in the sed command (the one that searches for the cn-config.ldif).
-- package slapd 2.4.15-1ubuntu3 failed to install/upgrade: subprocess pre-removal script returned error exit status 2 https://bugs.launchpad.net/bugs/486495 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs