sudo apt update sudo apt -f install Did not fix the problem.
Run apt purge samba mv smb.conf smb.conf.old apt install samba Got the same result. No new smb.conf created -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1731615 Title: package samba 2:4.3.11+dfsg-0ubuntu0.16.04.11 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/1731615/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs