Preparing to unpack .../linux-image-4.4.0-83-generic_4.4.0-83.106_amd64.deb ... Done. Unpacking linux-image-4.4.0-83-generic (4.4.0-83.106) ... Selecting previously unselected package linux-image-extra-4.4.0-83-generic. Preparing to unpack .../linux-image-extra-4.4.0-83-generic_4.4.0-83.106_amd64.deb ... Unpacking linux-image-extra-4.4.0-83-generic (4.4.0-83.106) ... Preparing to unpack .../linux-generic_4.4.0.83.89_amd64.deb ... Unpacking linux-generic (4.4.0.83.89) over (4.4.0.81.87) ... Preparing to unpack .../linux-image-generic_4.4.0.83.89_amd64.deb ... Unpacking linux-image-generic (4.4.0.83.89) over (4.4.0.81.87) ... Selecting previously unselected package linux-headers-4.4.0-83. Preparing to unpack .../linux-headers-4.4.0-83_4.4.0-83.106_all.deb ... Unpacking linux-headers-4.4.0-83 (4.4.0-83.106) ... Selecting previously unselected package linux-headers-4.4.0-83-generic. Preparing to unpack .../linux-headers-4.4.0-83-generic_4.4.0-83.106_amd64.deb ... Unpacking linux-headers-4.4.0-83-generic (4.4.0-83.106) ... Preparing to unpack .../linux-headers-generic_4.4.0.83.89_amd64.deb ... Unpacking linux-headers-generic (4.4.0.83.89) over (4.4.0.81.87) ... Preparing to unpack .../linux-libc-dev_4.4.0-83.106_amd64.deb ... Unpacking linux-libc-dev:amd64 (4.4.0-83.106) over (4.4.0-81.104) ... Setting up samba (2:4.3.11+dfsg-0ubuntu0.16.04.7) ... Job for smbd.service failed because the control process exited with error code. See "systemctl status smbd.service" and "journalctl -xe" for details. invoke-rc.d: initscript smbd, action "start" failed. ● smbd.service - LSB: start Samba SMB/CIFS daemon (smbd) Loaded: loaded (/etc/init.d/smbd; bad; vendor preset: enabled) Active: failed (Result: exit-code) since Qui 2017-06-29 11:32:23 BRT; 19ms ago Docs: man:systemd-sysv-generator(8) Process: 12514 ExecStart=/etc/init.d/smbd start (code=exited, status=1/FAILURE) Jun 29 11:32:19 ubuntu systemd[1]: Starting LSB: start Samba SMB/CIFS daemo..... Jun 29 11:32:23 ubuntu smbd[12514]: * Starting SMB/CIFS daemon smbd Jun 29 11:32:23 ubuntu smbd[12514]: ...fail! Jun 29 11:32:23 ubuntu systemd[1]: smbd.service: Control process exited, co...=1 Jun 29 11:32:23 ubuntu systemd[1]: Failed to start LSB: start Samba SMB/CIF...). Jun 29 11:32:23 ubuntu systemd[1]: smbd.service: Unit entered failed state. Jun 29 11:32:23 ubuntu systemd[1]: smbd.service: Failed with result 'exit-code'. 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