[Bug 1740656] Re: package samba 2:4.3.11+dfsg-0ubuntu0.16.04.12 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Andreas Hasenack
andreas at canonical.com
Tue Jan 2 11:20:08 UTC 2018
Thanks for filing this bug in Ubuntu.
For the Active Directory Controller role, you need to use the samba-ad-
dc service instead of the individual samba services:
sudo systemctl stop smbd.service nmbd.service winbind.service
sudo systemctl disable smbd.service nmbd.service winbind.service
sudo systemctl unmask samba-ad-dc.service
sudo systemctl enable samba-ad-dc.service
sudo systemctl restart samba-ad-dc.service
Your samba logs in /var/log/samba/log* should be saying something along
those lines.
After that's done, tell apt to try to finish the interrupted package
installation/upgrade that triggered this bug report:
sudo apt update
sudo apt -f install
Please let me know how it goes.
** Changed in: samba (Ubuntu)
Status: New => Incomplete
--
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/1740656
Title:
package samba 2:4.3.11+dfsg-0ubuntu0.16.04.12 failed to
install/upgrade: subprocess installed post-installation script
returned error exit status 1
Status in samba package in Ubuntu:
Incomplete
Bug description:
Trying to set up Domain Controller using Samba. Fails to connect to
localhost
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: samba 2:4.3.11+dfsg-0ubuntu0.16.04.12
ProcVersionSignature: Ubuntu 4.4.0-104.127-generic 4.4.98
Uname: Linux 4.4.0-104-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.14
AptOrdering:
samba: Install
samba: Configure
NULL: ConfigurePending
Architecture: amd64
Date: Sat Dec 30 22:39:46 2017
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2016-04-02 (637 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
NmbdLog:
RelatedPackageVersions:
dpkg 1.18.4ubuntu1.3
apt 1.2.24
SambaServerRegression: No
SmbConfIncluded: Yes
SmbLog:
SourcePackage: samba
Title: package samba 2:4.3.11+dfsg-0ubuntu0.16.04.12 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to xenial on 2016-08-11 (507 days ago)
WindowsFailedConnect: Yes
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1740656/+subscriptions
More information about the foundations-bugs
mailing list