[SOLVED] How to install samba-server on PBS?

Razva

Renowned Member
Dec 3, 2013
252
10
83
Romania
cncted.com
Hey,

I'm trying to install samba on PBS but I'm getting this:

Bash:
root@ps-ms:~# apt install samba
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package samba is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  samba-libs

E: Package 'samba' has no installation candidate

root@ps-ms:~# apt-cache search samba
libsmbclient - shared library for communication with SMB/CIFS servers
libwbclient0 - Samba winbind client library
samba-common - common files used by both the Samba server and client
samba-libs - Samba core libraries
smbclient - command-line SMB/CIFS clients for Unix
root@ps-ms:~#

root@ps-ms:~# systemctl status smbd
Unit smbd.service could not be found.
root@ps-ms:~#

Any hints?

Thank you!
 
For posterity. If you get this error right after the initial install, please make sure that you've executed apt update and apt dist-upgrade before executing apt install samba. ;)