2010-12-27 10:43:23 |
dnmvisser |
description |
When documenting the installation of slapd on Lucid, I often need to go back to a clean default install. I do this by:
apt-get -y purge slapd && apt-get install slapd
It seems that purging does not remove /var/lib/ldap, so after re-installation old database stuff is hanging around.
Hence, you receive all kinds of 'duplicate' warning when trying to add thing to an alleged 'clean' install. |
When documenting the installation of slapd on Lucid, I often need to go back to a clean default install. I do this by:
apt-get -y purge slapd && apt-get install slapd
It seems that purging does not remove /var/lib/ldap, so after re-installation old database stuff is hanging around.
Hence, you receive all kinds of 'duplicate' warnings when trying to add things to an alleged 'clean' install.
Expected behavior: 'apt-get purge slapd' purges everything, including /var/lib/ldap.
FYI, this is the only ldap related package I had installed, so /var/lib/ldap is not used by other packages.
|
|