Ok, you should disable samba-ad-dc and enable the others. Like this:

sudo systemctl stop smbd.service nmbd.service winbind.service 
samba-ad-dc.service
(the above one may indicate a failure since these services are probably already 
stopped, but that's ok)

sudo systemctl disable samba-ad-dc.service
sudo systemctl mask samba-ad-dc.service
sudo systemctl enable smbd.service nmbd.service
sudo systemctl start smbd.service nmbd.service


Then this:
sudo apt update
sudo apt -f install

Let me know how it goes.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1734859

Title:
  package samba 2:4.5.4+dfsg-1ubuntu2 failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1734859/+subscriptions

-- 
Ubuntu-server-bugs mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to