Hi,
it seems that you have samba installed but not (or bad) configured.
That you can see that the services smbd/nmbd won't start in your log:
  Fev 02 08:02:40 hostname systemd[1]: Failed to start LSB: start Samba 
SMB/CIFS daemon (smbd).
  Fev 02 08:02:40 hostname systemd[1]: smbd.service: Failed with result 
'exit-code'.

Now on the upgrade of these packages they get restarted to pick up the
fixes, and due to the likely broken config they can't start. Which in
turn makes the upgrade go bad.

Either start checking what exactly fails with:
systemctl status smbd.service
systemctl status nmbd.service

And fix up whatever the issue is.

Or - if maybe you don't even want samba as a service to share files
ignore that your config is broken and uninstall it. I've often seen bugs
like that by people playing with it in the past, but then ignoring it as
they don't want it. But later on on upgrade an issue like this is
popping up. Maybe yours is such a case.

** Changed in: samba (Ubuntu)
       Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1661249

Title:
  package samba 2:4.3.11+dfsg-0ubuntu0.16.04.3 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/1661249/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to