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

Razva

Renowned Member
Dec 3, 2013
250
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. ;)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!