>From the log: nmbd: No local IPv4 non-loopback interfaces available, waiting for interface ...
In general services are restarted on upgrade to pick up the new changes, but failing to do so lets the upgrade fail and reroll. P.S. do not dive into "Failed to preset unit: Unit file /etc/systemd/system/samba-ad-dc.service is masked" that is bug 1658273 / bug 1610361 which are not a bug. Now for what you see is the service failing to (re-)start on upgrade due to the message above. I don't know your setup maybe ipv6 only? I'm no tsure if the nmbd config needs to be tweaked for this - would be interesting. Please could you share details on your network setup and if it might be related to the problem reported. ** Changed in: samba (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1695684 Title: package samba 2:4.5.8+dfsg-0ubuntu0.17.04.2 failed to install/upgrade: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1695684/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs