can someone please tell me how to install samba ive been trying for a while and ive been searching but cant find the info
ive tried doing it using putty using this command i found
sudo apt-get update && sudo apt-get install smb-app-osmc will install and configure Samba for you.
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists… Done
Building dependency tree
Reading state information… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
smb-app-osmc : PreDepends: samba but it is not installable
E: Unable to correct problems, you have held broken packages.
all im trying to do is share files between my osmc pi and my windows pc so any help for this noob is gratefully received
Starting from the top (you are using the OSMC skin?), Select MyOsmc, and then look for the shopping trolley icon. Pick Samba (smb) Server, and then go to the Install button - whereupon it should install
Derek
ok ive still been searching and looking at the images on google theres what looks like an osmc (desktop?) where theres a circle of features i dont have this when osmc boots i have a list on the left hand side videos, music, pictures ect
are there two versions of osmc i dont remember there beeing an option when i downloaded?
There is only one version of OSMC for any given hardware (eg Pi1, Pi2, vero,ATV…), and the home window is the same for all (as far as I know)
Half way down the list on the left hand side there is MyOSMC …
Selecting this gets that circle of options, and the lowest right hnd icon is the one I mentioned before
Derek
as Derek already wrote there is only one version of OSMC and you should have in the list on the left “MyOSMC”.
Only reason you don’t have that is if you changed the skin. If that is the case I suggest to (at least for a moment) change the skin back to OSMC to go to the APP Store why MyOSMC.
wow ive spent over 2 hours tring to install samba and i cant believe i didn’t see myosmc on that list once, i know im a little hungover but even still! my eyes were blind to it and as soon as it was mentioned it appeared on my screen, no wonder i couldn’t find any info on it cause its so bleeding obvious,
ahh well installed now took like seconds!
should i be able to see it on my pc now as in should it show in my network or do i need software on my pc so i can file transfer to my Pi?
Probably, but it may not spontaneously appear in your network locations list on Windows due to the historic issues plaguing Windows/Linux samba integrations. Reboots of both systems may resolve this or, you may have to enter \ip.of.your.pi in windows explorer (not internet explorer) to access it though you may be able to set it then as a mapped location.
thanks for all the replys i spent over 2 hours doing something that should have taken seconds so im going for a walk and clear my head i’ll have another look at this when i get back, hopefully with fresh eyes
Hi,
Is there a way to install samba from the store via ssh command line ?
I understand installing from the store is not the same as installing via apt-get install samba
When I install from the store samba works properly for me, when I install from ssh with the above command line it does not.
The reason I want to install from a command line is, I am deploying osmc on a headless system without a display ( for audio ).
To install samba from the store I need to hook up a display which is a tough thing given my use case scenario.
Careful with this as smb.conf may be overwritten causing you to lose your settings, you should really have any customisation in smb-shares.conf instead.
Don’t edit /etc/samba/smb.conf - your changes will get overwritten in future updates. It very clearly says not to do this in the comments section within smb.conf
You should not need to do anything for your external drives to appear as shares automatically. Did you reboot after installing Samba ?