Thanks for filing this bug in Ubuntu. You have an invalid configuration parameter in your /etc/samba/smb.conf file:
$ testparm ./smb.conf Load smb config files from ./smb.conf rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) WARNING: The "syslog" option is deprecated WARNING: Ignoring invalid value 'server' for parameter 'security' Error loading services. Valid values for the "security" parameter are "auto", "user", "domain" or "ads". The invalid value caused the parameter "security" to be ignored and as a consequence the service won't start, because it's mandatory. ** Changed in: samba (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1702540 Title: package samba 2:4.3.11+dfsg-0ubuntu0.16.04.8 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1702540/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs