我对损坏的 samba 配置文件很生气。我刚刚删除了/etc/samba文件夹。现在我想重新安装 samba,但我不能。
这就是我所做的:
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
Run Code Online (Sandbox Code Playgroud)
我想删除 samba (完全删除)然后像以前什么都没发生过一样安装它?
这该怎么做?
[编辑]
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: …Run Code Online (Sandbox Code Playgroud)