Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kodi-inputstream-rtmp is not installable on armhf/arm64 #144

Open
cmitu opened this issue Nov 14, 2023 · 10 comments
Open

kodi-inputstream-rtmp is not installable on armhf/arm64 #144

cmitu opened this issue Nov 14, 2023 · 10 comments

Comments

@cmitu
Copy link

cmitu commented Nov 14, 2023

The Raspbian repository contains a newer version than the kodi-inputstream-rtmp package from both Raspberry Pi repository.

# kodi-inputstream-rtmp
apt-cache policy kodi-inputstream-rtmp
kodi-inputstream-rtmp:
  Installed: (none)
  Candidate: 20.3.0+ds1-1
  Version table:
     20.3.0+ds1-1 500
        500 http://raspbian.raspberrypi.com/raspbian bookworm/main armhf Packages
     20.3.0-2~bookworm 500
        500 http://archive.raspberrypi.com/debian bookworm/main armhf Packages

Trying to install kodi-inputstream-rtmp results in an error, since it references a non-existent dependency (kodi-api-inputstream):

shell $ sudo apt install kodi-inputstream-rtmp
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:
 kodi-inputstream-rtmp : Depends: kodi-api-inputstream (>= 3.2.0)
                         Depends: kodi-api-inputstream (< 3.3.0)
@cmitu cmitu changed the title kodi-inputstream-rtmp is not installable on armhf kodi-inputstream-rtmp is not installable on armhf/arm64 Nov 22, 2023
@aandroide
Copy link

Hi, I have the same problem too. iptvsimpleclient is installed but does not install the rtmp and ffmpegdirect dependencies. same errors as above.

@aandroide
Copy link

News?

@cmitu
Copy link
Author

cmitu commented Dec 19, 2023

@aandroide you can always install the version you want by specifying it after the package name, e.g.

sudo apt install kodi-api-inputstream=20.3.0-2~bookworm

@lurch
Copy link
Collaborator

lurch commented Dec 19, 2023

On 32-bit Bookworm I get:

pi@bookworm32:~ $ apt policy kodi-inputstream-rtmp
kodi-inputstream-rtmp:
  Installed: (none)
  Candidate: 20.3.0+ds1-1
  Version table:
     20.3.0+ds1-1 500
        500 http://raspbian.raspberrypi.com/raspbian bookworm/main armhf Packages
     20.3.0-2~bookworm 500
        500 http://archive.raspberrypi.com/debian bookworm/main armhf Packages
pi@bookworm32:~ $ apt show -a kodi-inputstream-rtmp
Package: kodi-inputstream-rtmp
Version: 20.3.0+ds1-1
Priority: optional
Section: video
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Installed-Size: 322 kB
Depends: libc6 (>= 2.34), libgcc-s1 (>= 3.5), librtmp1 (>= 2.3), libstdc++6 (>= 6), kodi-api-inputstream (>= 3.2.0), kodi-api-inputstream (<< 3.3.0)
Homepage: https://kodi.tv/
Download-Size: 77.5 kB
APT-Sources: http://raspbian.raspberrypi.com/raspbian bookworm/main armhf Packages
Description: Kodi input stream addon for RTMP
 This package is the RTMP Inputstream addon for Kodi.
 .
 The Real Time Messaging Protocol (RTMP) is a proprietary network protocol
 developed by Adobe Inc. to transmit audio, video and other data over the
 Internet from a media server to a flash player.

Package: kodi-inputstream-rtmp
Version: 20.3.0-2~bookworm
Priority: extra
Section: libs
Maintainer: Arne Morten Kvarving <spiff@xbmc.org>
Installed-Size: 299 kB
Depends: libc6 (>= 2.34), libgcc-s1 (>= 3.5), librtmp1 (>= 2.3), libstdc++6 (>= 6)
Download-Size: 75.1 kB
APT-Sources: http://archive.raspberrypi.com/debian bookworm/main armhf Packages
Description: Rtmp inputstream addon for Kodi
 This is the RTMP inputstream addon for Kodi

pi@bookworm32:~ $ apt show -a kodi-api-inputstream
Package: kodi-api-inputstream
State: not a real package (virtual)
N: Can't select versions from package 'kodi-api-inputstream' as it is purely virtual
N: No packages found

and on 64-bit Bookworm I get:

pi@bookworm64:~ $ apt policy kodi-inputstream-rtmp
kodi-inputstream-rtmp:
  Installed: (none)
  Candidate: 20.3.0+ds1-1
  Version table:
     20.3.0+ds1-1 500
        500 http://deb.debian.org/debian bookworm/main arm64 Packages
     20.3.0-2~bookworm 500
        500 http://archive.raspberrypi.com/debian bookworm/main arm64 Packages
pi@bookworm64:~ $ apt show -a kodi-inputstream-rtmp
Package: kodi-inputstream-rtmp
Version: 20.3.0+ds1-1
Priority: optional
Section: video
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Installed-Size: 322 kB
Depends: libc6 (>= 2.34), libgcc-s1 (>= 3.0), librtmp1 (>= 2.3), libstdc++6 (>= 6), kodi-api-inputstream (>= 3.2.0), kodi-api-inputstream (<< 3.3.0)
Homepage: https://kodi.tv/
Download-Size: 80.1 kB
APT-Sources: http://deb.debian.org/debian bookworm/main arm64 Packages
Description: Kodi input stream addon for RTMP
 This package is the RTMP Inputstream addon for Kodi.
 .
 The Real Time Messaging Protocol (RTMP) is a proprietary network protocol
 developed by Adobe Inc. to transmit audio, video and other data over the
 Internet from a media server to a flash player.

Package: kodi-inputstream-rtmp
Version: 20.3.0-2~bookworm
Priority: extra
Section: libs
Maintainer: Arne Morten Kvarving <spiff@xbmc.org>
Installed-Size: 321 kB
Depends: libc6 (>= 2.34), libgcc-s1 (>= 3.3.1), librtmp1 (>= 2.3), libstdc++6 (>= 6)
Download-Size: 77.5 kB
APT-Sources: http://archive.raspberrypi.com/debian bookworm/main arm64 Packages
Description: Rtmp inputstream addon for Kodi
 This is the RTMP inputstream addon for Kodi

pi@bookworm64:~ $ apt show -a kodi-api-inputstream
Package: kodi-api-inputstream
State: not a real package (virtual)
N: Can't select versions from package 'kodi-api-inputstream' as it is purely virtual
N: No packages found

Looks like this might be a packaging-problem for @XECDesign to address?

@aandroide
Copy link

aandroide commented Dec 19, 2023

@aandroide you can always install the version you want by specifying it after the package name, e.g.

sudo apt install kodi-api-inputstream=20.3.0-2~bookworm

sudo apt install kodi-api-inputstream=20.3.0-2~bookworm
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package kodi-api-inputstream is a virtual package provided by:
kodi 2:20.1+dfsg-1 (= 3.2.0) [Not candidate version]

E: Version '20.3.0-2~bookworm' for 'kodi-api-inputstream' was not found
@cmitu hello, this don't work

@JuenTingShie
Copy link

related to kodi-inputstream-ffmpegdirect, this package also not found.

I'm using fresh install of 2023-12-05-raspios-bookworm-arm64.img.xz

cmitu added a commit to cmitu/RetroPie-Setup that referenced this issue Jan 28, 2024
Since Bullseye, `kodi` should be installed from the RPT repos, since it's build with the necessary patches/optimization directly by the RP folks.
However, the version in the repos don't always overrides the version present in the upstream Debian/Raspbian repositories [1] and installation fails.

Added a workaround to always prefer the Kodi packages originating from archive.raspberrypi.com/archive.raspberrypi.org.
I think Bullseye and previous had 'archive.raspberrypi.org' for RP repostories, while Bookworm has switched to 'archive.raspberrypi.com', so we can't use the URL for pinning. Added a pin based on the 'l'(Location ?) field of the release from the repository.

[1] raspberrypi/bookworm-feedback#144
@cmitu
Copy link
Author

cmitu commented Jan 28, 2024

As a workaround, you can use apt pinning to prioritize packages from the RPF repos.

Add to /etc/apt/preferences.d/01-rpf-kodi:

Package: kodi*
Pin: release o=Raspberry Pi Foundation
Pin-Priority: 900

@JuenTingShie
Copy link

As a workaround, you can use apt pinning to prioritize packages from the RPF repos.

Add to /etc/apt/preferences.d/01-rpf-kodi:

Package: kodi*
Pin: release o=Raspberry Pi Foundation
Pin-Priority: 900

Hi, I have read some documents of APT pinning, but could you please explain simply why to set up pin?

@cmitu
Copy link
Author

cmitu commented Jan 28, 2024

Hi, I have read some documents of APT pinning, but could you please explain simply why to set up pin?

Why is this issue itself - due to version overlap, kodi is not directly installable on RaspiOS. See the 1st post of this issue.

@spookyfirehorse
Copy link

The Raspbian repository contains a newer version than the kodi-inputstream-rtmp package from both Raspberry Pi repository.

# kodi-inputstream-rtmp
apt-cache policy kodi-inputstream-rtmp
kodi-inputstream-rtmp:
  Installed: (none)
  Candidate: 20.3.0+ds1-1
  Version table:
     20.3.0+ds1-1 500
        500 http://raspbian.raspberrypi.com/raspbian bookworm/main armhf Packages
     20.3.0-2~bookworm 500
        500 http://archive.raspberrypi.com/debian bookworm/main armhf Packages

Trying to install kodi-inputstream-rtmp results in an error, since it references a non-existent dependency (kodi-api-inputstream):

shell $ sudo apt install kodi-inputstream-rtmp
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:
 kodi-inputstream-rtmp : Depends: kodi-api-inputstream (>= 3.2.0)
                         Depends: kodi-api-inputstream (< 3.3.0)

sudo apt install kodi21-inputstream-* kodi21 installs the latest kodi but do not make an versions update in kodi there is a bug and it install the normal kodi package

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants