[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: completely removing directory so i can start over
Hello fellow Debian user,
Looks like you will have to manually remove the files that were not
removed by the debian package tool.
Make sure you have a backup of the files you will be using.
update your locate database # much faster than find ;-)
updatedb
find where all the ldap stuff is hiding
I use this type of search.
locate ldap | grep -v home | grep -v 'usr/src/'
destroy it
rm -fr /etc/ldap
rm -fr /etc/openldap
rm -fr /var/lib/ldap
reinstall your ldap stuff
recreate your directory
> cderr:/usr/src# dpkg --purge slapd ldap-utils ldap-gateways
> (Reading database ... 101593 files and directories currently installed.)
> Removing slapd ...
> Stopping OpenLDAP: slapd.
> dpkg - warning: while removing slapd, directory `/etc/ldap/schema' not
> empty so not removed.
> dpkg - warning: while removing slapd, directory `/etc/ldap' not empty so
> not removed.
> Purging configuration files for slapd ...
> Removing ldap-utils ...
> Removing ldap-gateways ...
> cderr:/usr/src# dpkg -i ldap-utils_2.0.23-3_i386.deb
> Selecting previously deselected package ldap-utils.
> (Reading database ... 101541 files and directories currently installed.)
> Unpacking ldap-utils (from ldap-utils_2.0.23-3_i386.deb) ...
> Setting up ldap-utils (2.0.23-3) ...