I got mad about the broken config file for samba. I just deleted the
/etc/samba folder. Now I want to reinstall samba but I cannot.
This is what I did:
sudo apt-get install samba sudo vim /etc/samba/... # broke something in the config sudo apt-get remove --purge samba # realized that the config file in the `/etc/samba` is still there. sudo rm -r /etc/samba sudo apt-get install samba # getting error
I want to remove samba (delete completely) then install it like nothing happened before?
How to do this?
dpkg: error processing package samba (--configure): subprocess installed post-installation script returned error exit status 1 Processing triggers for systemd (215-17+deb8u4) ... Errors were encountered while processing: samba E: Sub-process /usr/bin/dpkg returned an error code (1)
- The first install was 54.2MB
- The uninstall was 11.5MB
- The second install was 11.5MB