[Bug 1694000] Re: package samba 2:4.5.8+dfsg-0ubuntu0.17.04.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Andreas Hasenack andreas at canonical.com
Mon May 29 12:27:42 UTC 2017


Thank you for filing this bug in Ubuntu.

You have a syntax error in your /etc/samba/smb.conf file, looks like a copy & paste from some tutorial (the "arrows" there are not mine):
"""
[tom] -> The name of the shared directory
path = /media/tom/ -> The path of the shared directory
read only = No -> Ensures that it's not read only
browsable = yes -> Ensures that the subfolder of the directory are browsable
writeable = yes -> Ensures that user can write to it from networked device
valid users = swapnil -> The system user
"""

This is preventing the samba service from starting and caused your error
report. Once you fix that file, the problem will be resolved.


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

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1694000

Title:
  package samba 2:4.5.8+dfsg-0ubuntu0.17.04.2 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/1694000/+subscriptions



More information about the Ubuntu-server-bugs mailing list