Kodi-vfs-fstp has unmet dependency on kodi which conflicts with rbp4-mediacenter-osmc

Hi all,

I just downloaded the latest version for the RaspberryPi 4 and can not use SFTP. I figured out that kodi does not include the SFTP addon by default and that I need to install kodi-vfs-sftp. Trying to install this package results in an error:

$ sudo apt install kodi-vfs-sftp
Reading package lists... Done
Building dependency tree... Done
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:
 rbp4-mediacenter-osmc : Conflicts: kodi
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

How should I install SFTP on OSMC?

OSMC version:

$ grep VERSION_ID /etc/os-release
VERSION_ID="2022.10-1"

Kodi version:

$ grep Kodi .kodi/temp/kodi.log | head -3
2023-01-14 21:54:59.689 T:546      INFO <general>: Starting Kodi (19.4). Platform: Linux ARM (Thumb) 32-bit
2023-01-14 21:54:59.689 T:546      INFO <general>: Using Release Kodi x32
2023-01-14 21:54:59.689 T:546      INFO <general>: Kodi compiled 2022-08-23 by GCC 10.2.1 for Linux ARM (Thumb) 32-bit version 5.10.78 (330318)

We build add-ons and include them with Kodi by default.

Okay, cool. So if I understand it correctly it should work out of the box?

I was getting a ‘Couldn’t connect to network server’ error dialog and saw the following line in the kodi.log:

2023-01-15 02:59:50.032 T:9406 WARNING <general>: Create - unsupported protocol(sftp) in sftp://helios4.lan/mnt/multimedia/

That is where my search for SFTP support in the current Kodi version started.

Why am I getting an unsupported protocol(sftp) error?

I got it working. It was indeed installed, just not enabled. My bad.

Glad to hear this is now solved

Sam