[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
Foundations Bugs, 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
Status in samba package in Ubuntu:
Invalid
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1694000/+subscriptions
More information about the foundations-bugs
mailing list