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
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+
ProcVersionSign
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_
query_name: Failed to send packet trying to query name WORKGROUP<1d>
RelatedPackageV
dpkg 1.18.10ubuntu2
apt 1.4
SambaServerRegr
SmbConfIncluded: Yes
SmbLog:
SourcePackage: samba
Title: package samba 2:4.5.8+
UpgradeStatus: Upgraded to zesty on 2017-04-04 (52 days ago)
WindowsFailedCo
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.