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

Bug #1694000 reported by tom linson
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

i don't know anything

ProblemType: Package
DistroRelease: Ubuntu 17.04
Package: samba 2:4.5.8+dfsg-0ubuntu0.17.04.2
ProcVersionSignature: Ubuntu 4.10.0-21.23-generic 4.10.11
Uname: Linux 4.10.0-21-generic x86_64
ApportVersion: 2.20.4-0ubuntu4
Architecture: amd64
Date: Fri May 26 23:40:13 2017
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2016-10-31 (208 days ago)
InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2)
NmbdLog:
 Packet send failed to 192.168.1.255(138) ERRNO=Invalid argument
   Packet send failed to 192.168.1.255(138) ERRNO=No child processes
   Packet send failed to 192.168.1.255(137) ERRNO=Network is unreachable
   send_netbios_packet: send_packet() to IP 192.168.1.255 port 137 failed
   query_name: Failed to send packet trying to query name WORKGROUP<1d>
RelatedPackageVersions:
 dpkg 1.18.10ubuntu2
 apt 1.4
SambaServerRegression: Yes
SmbConfIncluded: Yes
SmbLog:

SourcePackage: samba
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
UpgradeStatus: Upgraded to zesty on 2017-04-04 (52 days ago)
WindowsFailedConnect: Yes

Revision history for this message
tom linson (1-martin) wrote :
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

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
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.