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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs