I found a work around on this do the following:
sudo mv /etc/samba/smb.conf /etc/samba/smb.conf.bak sudo apt-get install samba4
I found a work around on this do the following:
sudo mv /etc/samba/smb.conf /etc/samba/ smb.conf. bak
sudo apt-get install samba4