Error with Sources and installing SMB

Hey,

Tried installing SAMBA and configuring without much luck…So thought i’d remove and add in the sources from my RASP install (without any luck)

have had to remove http and just do ttp as a new user can’t post more than 3 links.

Sources side not getting this on apt-update…
W: Failed to fetch ttp://mirrordirector.raspbian.org/raspbian/dists/wheezy/InRelease Unable to find expected entry ‘r$/binary-armhf/Packages’ in Release file (Wrong sources.list entry or malformed file)

Source list contents

deb ttp://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free r$
deb ttp://ftp.debian.org/debian/ jessie-updates main contrib
deb ttp://security.debian.org/ jessie/updates main contrib
deb ttp://apt.osmc.tv jessie-devel main
#deb ttp://mirrordirector.raspbian.org/raspbian jessie main contrib non-free rpi
#deb ttp://mirrordirector.raspbian.org/raspbian jessie main contrib non-free rpi
deb-src ttp://archive.raspbian.org/raspbian wheezy main contrib non-free rpi
deb ttp://mirrordirector.raspbian.org/raspbian jessie main contrib non-free rpi

Trying to install install smb-app-osmc as it’s supposed to be easier for smb getting
The following information may help to resolve the situation:

The following packages have unmet dependencies:
smb-app-osmc : PreDepends: samba but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@osmc:~# smb-app-osmc
-bash: smb-app-osmc: command not found

try and install samba getting
The following information may help to resolve the situation:

The following packages have unmet dependencies:
samba : Depends: libwbclient0 (= 2:3.6.6-6+deb7u5) but 2:4.1.17+dfsg-2 is to be installed
E: Unable to correct problems, you have held broken packages.

any ideas? Apart from this box is working beautifully.

Thanks

I don’t really understand what you mean by installing and configuring - how did you try to install it ? Did you try to install the samba package directly using apt ? If so that will not work on its own as it will not be configured.

If you install it via the app store as recommended, there is no configuring needed - it just works.

If you’re saying you added Raspbian apt sources to your /etc/apt/sources.list (why ?) and you’re running on a Pi 2 and you then installed software or tried to run updates you have messed up your system. If Raspbian sources are not there, it’s for a reason. :wink:

The Pi 2 version of OSMC does not use Raspbian it uses Debian, and the packages are not the same - mixing the two together by adding Raspbian sources to the Pi 2 will almost certainly screw up your system as soon as you install software or update your system. And unless you are skilled with troubleshooting apt, undoing the damage without a reinstall will be very difficult.

If you are not too far into setting up OSMC I would recommend that you start with a fresh install and do not add Raspbian sources, or copy any system files from Raspbian or Raspbmc. Simply use the app store to install Samba and it should work straight away.

Yeah tried no luck with the app store will probably have to do a re-build…Adding additional sources was following a guide on getting sabnzb updated and it stopped working.

Will just need to backup couchpotato/roms from the box.

Samba is available from the Debian repo also really dont get why you added raspbian repos…