Ubuntu – Ubuntu 15.04 : Samba Server Error. ‘ Unit samba.service failed to load: No such file or directory.’

aptnetworkingsambaserver

I tried getting Samba Server Using

sudo apt-get install samba*

but doing that I got this :

The following information may help to resolve the situation:

The following packages have unmet dependencies:

fusiondirectory-plugin-samba : Conflicts: gosa-plugin-samba but 2.7.4+reloaded2-2 is to be installed

gosa-plugin-samba : Depends: gosa (= 2.7.4+reloaded2-2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

After this I found a smb.conf file in /etc/samba/smb.conf
I wrote the share definitions and used the following command.

sudo service smbd start

and I got this:

Unit samba.service failed to load: No such file or directory.'

I TRIED THE FOLLOWING:

sudo service samba start
sudo service samba restart

but I got the samething also service–status-all has no smb in it
Help would be appreciated.

Best Answer

Related Question