← Back to team overview

enterprise-support team mailing list archive

Re: [Question #214401]: error: /var/lib/dpkg/info/samba4.postinst: 14: /var/lib/dpkg/info/samba4.postinst: /usr/share/samba/setoption.pl: Permission denied subprocess installed post-installation script returned error exit status 126 in Ubuntu 12.04 LTS

 

Question #214401 on samba4 in Ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/samba4/+question/214401

    Status: Open => Answered

Mark Rijckenberg proposed the following answer:
Try this:

sudo apt-get remove --purge samba4
sudo apt-get remove --purge samba-common-bin
sudo apt-get remove --purge samba
sudo rm -rf /usr/share/samba
sudo rm /etc/samba/smb.conf
sudo apt-get update
sudo apt-get install  samba-common-bin
sudo apt-get install  samba

Then reboot and retest.

I have no further suggestions to make....

-- 
You received this question notification because you are a member of
Ubuntu Server/Client Support Team, which is an answer contact for samba4
in Ubuntu.