This occurred because of the ucf package you have installed.
ucfr: Attempt from package samba-common to take /etc/samba/smb.conf away from package
ucfr: Aborting.
dpkg: error processing package samba-common (--configure):
subprocess installed post-installation script returned error exit status 4
This occurred because of the ucf package you have installed.
ucfr: Attempt from package samba-common to take /etc/samba/smb.conf away from package
ucfr: Aborting.
dpkg: error processing package samba-common (--configure):
subprocess installed post-installation script returned error exit status 4