From log:
Setting up samba4 (4.0.0~alpha18.dfsg1-4ubuntu2) ... unable to open smb.conf at /usr/share/samba/setoption.pl line 22. dpkg: error processing samba4 (--configure): subprocess installed post-installation script returned error exit status 2
From log:
Setting up samba4 (4.0.0~ alpha18. dfsg1-4ubuntu2) ... samba/setoption .pl line 22.
unable to open smb.conf at /usr/share/
dpkg: error processing samba4 (--configure):
subprocess installed post-installation script returned error exit status 2