Samba trouble
Dale Farnsworth
dale at farnsworth.org
Sat Oct 1 15:00:05 MST 2005
On Sat, Oct 01, 2005 at 07:42:42PM +0000, Alex Dean wrote:
> I'm not exactly sure what's wrong with Samba. As I just installed
> it, and I don't have any important configuration set up yet, I would
> like to know how to totally remove it, and just start over. If I
> still have problems at that point, I'll dig into it a little deeper.
>
> I'm on Debian, and when I do 'apt-get remove samba; apt-get clean;',
> there are still lots of Samba-related files left. 'updatedb; locate
> samba;' finds lots of stuff. Can I just manually delete all these,
> then 'apt-get install samba' to get back to the beginning?
'apt-get remove' leaves config files, as you found. If you want
to remove config files as well, do 'apt-get --purge remove'. Of
course, that no longer works after you have done 'apt-get remove'.
So to clear everything out, you can do:
apt-get install samba
apt-get --purge remove samba
It is also safe to just manually delete the files.
-Dale
More information about the PLUG-discuss
mailing list