sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED
libv8-3.14.5
0 to upgrade, 0 to newly install, 1 to remove and 0 not to upgrade.
1 not fully installed or removed.
After this operation, 4,313 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 367447 files and directories currently installed.)
Removing libv8-3.14.5 (3.14.5.8-5ubuntu2) ...
Processing triggers for libc-bin (2.24-3ubuntu1) ...
Setting up samba (2:4.4.5+dfsg-2ubuntu5) ...
Failed to preset unit: Unit file /etc/systemd/system/samba-ad-dc.service is masked.
/usr/bin/deb-systemd-helper: error: systemctl preset failed on samba-ad-dc.service: No such file or directory
Job for nmbd.service failed because a timeout was exceeded.
See "systemctl status nmbd.service" and "journalctl -xe" for details.
invoke-rc.d: initscript nmbd, action "start" failed.
● nmbd.service - Samba NMB Daemon
Loaded: loaded (/lib/systemd/system/nmbd.service; enabled; vendor preset: enabled)
Active: failed (Result: timeout) since Wed 2016-10-26 14:46:46 CET; 7ms ago
Docs: man:nmbd(8)
man:samba(7)
man:smb.conf(5)
Main PID: 8017
Status: "nmbd: No local IPv4 non-loopback interfaces available, waiting for interface ..."
Tasks: 1 (limit: 4915)
CGroup: /system.slice/nmbd.service
Oct 26 14:45:15 ameurux-pc systemd[1]: Starting Samba NMB Daemon...
Oct 26 14:45:15 ameurux-pc systemd[1]: nmbd.service: Supervising process 8017 which is not our child. We'll most lik...exits.
Oct 26 14:46:46 ameurux-pc systemd[1]: nmbd.service: Start operation timed out. Terminating.
Oct 26 14:46:46 ameurux-pc systemd[1]: nmbd.service: Killing process 8017 (nmbd) with signal SIGKILL.
Oct 26 14:46:46 ameurux-pc systemd[1]: Failed to start Samba NMB Daemon.
Oct 26 14:46:46 ameurux-pc systemd[1]: nmbd.service: Unit entered failed state.
Oct 26 14:46:46 ameurux-pc systemd[1]: nmbd.service: Failed with result 'timeout'.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package samba (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.24-3ubuntu1) ...
Errors were encountered while processing:
samba
E: Sub-process /usr/bin/dpkg returned an error code (1)