[Bug 694707] [NEW] database doesn't get purged during purge

/usr/local/dick dick at tienhuis.nl
Mon Dec 27 10:40:13 UTC 2010


Public bug reported:

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.

** Affects: openldap (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  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.
+ 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.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openldap in ubuntu.
https://bugs.launchpad.net/bugs/694707

Title:
  database doesn't get purged during purge



More information about the Ubuntu-server-bugs mailing list