But afterward, I ran apt-get autoremove and got the following:
Code: Select all
Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up samba (2:4.5.8+dfsg-2+deb9u2) ... 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 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 - Samba SMB Daemon Loaded: loaded (/lib/systemd/system/smbd.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Sat 2017-09-23 19:30:48 EDT; 6ms ago Docs: man:smbd(8) man:samba(7) man:smb.conf(5) Process: 6770 ExecStart=/usr/sbin/smbd $SMBDOPTIONS (code=exited, status=1/FAILURE) Main PID: 6770 (code=exited, status=1/FAILURE) Sep 23 19:30:48 solydxk systemd: Starting Samba SMB Daemon... Sep 23 19:30:48 solydxk systemd: smbd.service: Main process exited, code=exited…ILURE Sep 23 19:30:48 solydxk systemd: Failed to start Samba SMB Daemon. Sep 23 19:30:48 solydxk systemd: smbd.service: Unit entered failed state. Sep 23 19:30:48 solydxk systemd: 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 Processing triggers for libc-bin (2.24-11+deb9u1) ... Errors were encountered while processing: samba E: Sub-process /usr/bin/dpkg returned an error code (1)
I don't use samba (that I know of), but the problem may reflect into other areas.