I wonder about this, from the log:
Setting up python-samba (2:4.3.11+dfsg-0ubuntu0.16.04.1) ...
  File "/usr/lib/python2.7/dist-packages/samba/tests/posixacl.py", line 180
    posix_acl = smbd.get_sy{_acl(self.tempf, smb_acl.SMB_ACL_TYPE_ACCESS)
                           ^
SyntaxError: invalid syntax


I have 4.3.11+dfsg-0ubuntu0.16.04.1 as well.
And I see:
    posix_acl = smbd.get_sys_acl(self.tempf, smb_acl.SMB_ACL_TYPE_ACCESS

So - corrupted file maybe?
Could you run:
$ dpkg --verify python-samba
I'd expect it to show something like:
??5??????   /usr/lib/python2.7/dist-packages/samba/tests/posixacl.py

That means for whatever reason that is broken.
I hope your disk/memory is ok.

In any case with that could you try clean and reinstall the package with:
apt-get clean
apt-get --reinstall install python-samba

Please let us know what you find doing so.

** Changed in: samba (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1631537

Title:
  package python-samba 2:4.3.11+dfsg-0ubuntu0.16.04.1 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 101

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1631537/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to