While configuring the slapd package in Debian 5, I found one of the questions intriguing:
Do you want the database to be removed when slapd is purged?
What does it mean to purge the slapd database and under which conditions it can happen?
While configuring the slapd package in Debian 5, I found one of the questions intriguing:
Do you want the database to be removed when slapd is purged?
What does it mean to purge the slapd database and under which conditions it can happen?
It means that if you decide to not just remove the slapd package but purge it instead it, aptitude/apt-get will also remove the the actual database as well. The difference between just removing a package and purging it, is that if you purge it apt will remove all the associated configuration files (even if you have made changes to them).
From the aptitude manpage:
<package>-
Remove <package>.
<package>_
Purge <package>: remove it and all its associated configuration
and data files.
So an aptitude purge slapd
will take the database and its content with it when the package is uninstalled, whereas an aptitude remove slapd
will just uninstall the package.