Interesting, this time I tried from the terminal and it did install but with several error messages that I don't quite understand. Mainly those were
Unable to init server: Could not connect: Connection refused
(dpkg-preconfigure:7284): Gtk-WARNING **: 11:29:05.140: cannot open display:
Failed to preset unit, unit /etc/systemd/system/samba-ad-dc.service is masked.
(frontend:7403): Gtk-WARNING **: 11:29:34.776: cannot open display:
debconf: unable to initialize frontend: Gnome
Can they be ignored?
Below is the whole output. Sorry, I haven't yet figured out how to post such results in a scrollable separate box:
joerg@Vostro:~
$ sudo apt install system-config-samba
[sudo] password for joerg:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libaribb24-0 libbasicusageenvironment1 libcdio-cdda2 libcdio-paranoia2
libdvbpsi10 libebml4v5 libgdata-common libgdata22 libgoa-1.0-0b
libgoa-1.0-common libgroupsock8 libixml10 liblirc-client0 liblivemedia64
libmatroska6v5 libmicrodns0 libnfs12 liboauth0 libopenmpt-modplug1
libplacebo7 libprotobuf-lite17 libresid-builder0c2a libsdl-image1.2
libsidplay2 libspatialaudio0 libupnp13 libusageenvironment3 libvlc-bin
libvlc5 libvlccore9 libxcb-xv0 vlc-bin vlc-l10n vlc-plugin-base
vlc-plugin-notify vlc-plugin-qt vlc-plugin-skins2 vlc-plugin-video-output
vlc-plugin-video-splitter vlc-plugin-visualization
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libsmbclient python-samba python-smbc samba samba-common samba-common-bin
samba-libs
Suggested packages:
bind9 bind9utils ctdb ldb-tools smbldap-tools winbind heimdal-clients
Recommended packages:
python-gpg attr samba-dsdb-modules samba-vfs-modules
The following NEW packages will be installed:
libsmbclient python-samba python-smbc samba samba-common samba-common-bin
samba-libs system-config-samba
0 upgraded, 8 newly installed, 0 to remove and 24 not upgraded.
Need to get 8,965 kB/10.0 MB of archives.
After this operation, 68.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1
http://deb.debian.org/debian-security buster/updates/main amd64 samba-libs amd64 2:4.9.5+dfsg-5+deb10u1 [5,563 kB]
Get:2
http://mxrepo.com/mx/repo buster/main amd64 system-config-samba all 1.2.63-1mx17+1 [275 kB]
Get:3
http://deb.debian.org/debian-security buster/updates/main amd64 libsmbclient amd64 2:4.9.5+dfsg-5+deb10u1 [160 kB]
Get:4
http://deb.debian.org/debian-security buster/updates/main amd64 python-samba amd64 2:4.9.5+dfsg-5+deb10u1 [2,163 kB]
Get:5
http://deb.debian.org/debian-security buster/updates/main amd64 samba-common all 2:4.9.5+dfsg-5+deb10u1 [170 kB]
Get:6
http://deb.debian.org/debian-security buster/updates/main amd64 samba-common-bin amd64 2:4.9.5+dfsg-5+deb10u1 [615 kB]
Get:7
http://deb.debian.org/debian buster/main amd64 python-smbc amd64 1.0.15.6-1+b2 [18.2 kB]
Fetched 8,965 kB in 1s (7,135 kB/s)
Unable to init server: Could not connect: Connection refused
(dpkg-preconfigure:7284): Gtk-WARNING **: 11:29:05.140: cannot open display:
debconf: unable to initialize frontend: Gnome
debconf: (DISPLAY problem?)
debconf: falling back to frontend: Dialog
Preconfiguring packages ...
Selecting previously unselected package samba-libs:amd64.
(Reading database ... 293885 files and directories currently installed.)
Preparing to unpack .../0-samba-libs_2%3a4.9.5+dfsg-5+deb10u1_amd64.deb ...
Unpacking samba-libs:amd64 (2:4.9.5+dfsg-5+deb10u1) ...
Selecting previously unselected package libsmbclient:amd64.
Preparing to unpack .../1-libsmbclient_2%3a4.9.5+dfsg-5+deb10u1_amd64.deb ...
Unpacking libsmbclient:amd64 (2:4.9.5+dfsg-5+deb10u1) ...
Selecting previously unselected package python-samba.
Preparing to unpack .../2-python-samba_2%3a4.9.5+dfsg-5+deb10u1_amd64.deb ...
Unpacking python-samba (2:4.9.5+dfsg-5+deb10u1) ...
Selecting previously unselected package samba-common.
Preparing to unpack .../3-samba-common_2%3a4.9.5+dfsg-5+deb10u1_all.deb ...
Unpacking samba-common (2:4.9.5+dfsg-5+deb10u1) ...
Selecting previously unselected package samba-common-bin.
Preparing to unpack .../4-samba-common-bin_2%3a4.9.5+dfsg-5+deb10u1_amd64.deb ...
Unpacking samba-common-bin (2:4.9.5+dfsg-5+deb10u1) ...
Selecting previously unselected package samba.
Preparing to unpack .../5-samba_2%3a4.9.5+dfsg-5+deb10u1_amd64.deb ...
Unpacking samba (2:4.9.5+dfsg-5+deb10u1) ...
Selecting previously unselected package python-smbc.
Preparing to unpack .../6-python-smbc_1.0.15.6-1+b2_amd64.deb ...
Unpacking python-smbc (1.0.15.6-1+b2) ...
Selecting previously unselected package system-config-samba.
Preparing to unpack .../7-system-config-samba_1.2.63-1mx17+1_all.deb ...
Unpacking system-config-samba (1.2.63-1mx17+1) ...
Setting up samba-libs:amd64 (2:4.9.5+dfsg-5+deb10u1) ...
Setting up samba-common (2:4.9.5+dfsg-5+deb10u1) ...
Unable to init server: Could not connect: Connection refused
(frontend:7403): Gtk-WARNING **: 11:29:34.776: cannot open display:
debconf: unable to initialize frontend: Gnome
debconf: (DISPLAY problem?)
debconf: falling back to frontend: Dialog
Creating config file /etc/samba/smb.conf with new version
Setting up libsmbclient:amd64 (2:4.9.5+dfsg-5+deb10u1) ...
Setting up python-samba (2:4.9.5+dfsg-5+deb10u1) ...
Setting up python-smbc (1.0.15.6-1+b2) ...
Setting up samba-common-bin (2:4.9.5+dfsg-5+deb10u1) ...
Checking smb.conf with testparm
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Server role: ROLE_STANDALONE
Done
Setting up samba (2:4.9.5+dfsg-5+deb10u1) ...
Samba is not being run as an AD Domain Controller: Masking samba-ad-dc.service
Please ignore the following error about deb-systemd-helper not finding those services.
(samba-ad-dc.service masked)
[ ok ] Starting SMB/CIFS daemon: smbd.
[ ok ] Starting NetBIOS name server: nmbd.
Created symlink /etc/systemd/system/multi-user.target.wants/nmbd.service → /lib/systemd/system/nmbd.service.
Failed to preset unit, unit /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
Created symlink /etc/systemd/system/multi-user.target.wants/smbd.service → /lib/systemd/system/smbd.service.
Setting up system-config-samba (1.2.63-1mx17+1) ...
Processing triggers for ufw (0.36-1) ...
Processing triggers for systemd (1:241-7~deb10u3+mx19) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for desktop-file-utils (0.23-4) ...
Processing triggers for mime-support (3.62) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for libc-bin (2.28-10) ...