[Bug 1693418] 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
Tue May 30 13:55:23 UTC 2017
The smb.conf snippet from comment #7 is very different from the
SMBConf.txt attachment to this bug. Comment #7's is an AD controller,
whereas the attachment is for a standalone server. This changes things.
That being said, this seems to be the issue:
Mai 30 07:59:49 pdc smbd[7719]: You should start 'samba' instead, and it will control starting smbd if required
When using samba as an AD controller, you have to use a different
systemd job. Run the following:
sudo systemctl mask smbd.service
sudo systemctl mask nmbd.service
sudo systemctl unmask samba-ad-dc.service
Then try "sudo apt -f install" or "sudo dpkg --configure -a".
You may have to start samba-ad-dc explicitly:
sudo systemctl start samba-ad-dc.service
The error log message is a bit misleading, talking about a "samba" service. It looks like samba-ad-dc replaces it.
--
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/1693418
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:
Incomplete
Bug description:
The system says it has internal error, and when I try to open some
folders, it can't open.
ProblemType: Package
DistroRelease: Ubuntu 17.04
Package: samba 2:4.5.8+dfsg-0ubuntu0.17.04.2
ProcVersionSignature: Ubuntu 4.10.0-22.24-generic 4.10.15
Uname: Linux 4.10.0-22-generic x86_64
ApportVersion: 2.20.4-0ubuntu4.1
Architecture: amd64
Date: Thu May 25 05:05:39 2017
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2017-05-09 (16 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
NmbdLog:
RelatedPackageVersions:
dpkg 1.18.10ubuntu2
apt 1.4
SambaServerRegression: No
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: No upgrade log present (probably fresh install)
WindowsFailedConnect: Yes
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1693418/+subscriptions
More information about the foundations-bugs
mailing list