Can't update inputstream.adaptive to 21.5.4

I have installed OSMC on my raspberry pi and I can’t update inputstream.adaptive currently at version 21.5.3 to version 21.5.4.

I tried updating via Add-ons > Box Icon top left of the screen > Install from repository > VideoPlayer InputStream > InputStream Adaptive but I don’t have the option VideoPlayer InputStream, neither in the Kodi repository section.

I tried updating via ssh using sudo apt install kodi-inputstream-adaptive but gives me the following error:

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:

rbp2-mediacenter-osmc : Conflicts: kodi

E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

inputstream.adaptive is an binary adon and has to be compiled, you can do it but the learning curve is a bite for some people.

I don’t have an Pi-device here at home anymore, so I can’t help you since it’s often tailor made for the system. But in short you have to compile kKodi, then compile the addon with the object files from the Kodi build, or something like that. Like you need need the kernel header files for compiling kernel module.

Looks like you manually tried to install Kodi via apt-get. You will need to fix that to receive updates properly.

How difficult is it? Can you link me some sort of tutorial?

I’m a little bit pressed for time right now, but I’ll try to find my old notes later, when i get home. Hope to get back to you in a few hours.

How to fix it? Clearing the sd card and reinstalling everything would fix the problem getting the addon at the right version?

I would suggest reinstalling OSMC. Without a log I am not sure the extent of the damage to your system.