root@DietPi:/home/dietpi# apt install --reinstall kodi kodi-inputstream-rtmp
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait
Certains paquets ne peuvent être installés. Ceci peut signifier
que vous avez demandé l'impossible, ou bien, si vous utilisez
la distribution unstable, que certains paquets n'ont pas encore
été créés ou ne sont pas sortis d'Incoming.
L'information suivante devrait vous aider à résoudre la situation :
Les paquets suivants contiennent des dépendances non satisfaites :
kodi-inputstream-rtmp : Dépend: kodi-api-inputstream (>= 3.2.0)
Dépend: kodi-api-inputstream (< 3.3.0)
E: Impossible de corriger les problèmes, des paquets défectueux sont en mode « garder en l'état ».
The following packages contain unsatisfied dependencies:
kodi-inputstream-adaptive-dbg : Depends on: kodi-inputstream-adaptive (= 20.3.16-3~bookworm) but 20.3.18-4~bookworm must be installed.
kodi-inputstream-ffmpegdirect-dbgsym : Depends on: kodi-inputstream-ffmpegdirect (= 20.5.0-3~bookworm) but 20.5.1-4~bookworm must be installed.
kodi-inputstream-rtmp : Depends on: kodi-api-inputstream (>= 3.2.0)
Depends on: kodi-api-inputstream (< 3.3.0)
kodi-inputstream-rtmp-dbg : Depends on kodi-inputstream-rtmp (= 20.3.0-3~bookworm) but 20.3.0+ds1-1 must be installed.
kodi-inputstream-rtmp-dbgsym : Depends on: kodi-inputstream-rtmp (= 20.3.0-3~bookworm) but 20.3.0+ds1-1 must be installed.
E: Unable to fix problems, faulty packages are in ‘keep as is’ mode.
root@DietPi:~#
The last line makes me think that there may be a problem with my sources list following the switch to “Bookworm”?!?
I installed “aptitude” and it gives me solutions :
aptitude install kodi-inputstream-rtmp
The following packages will be updated:
kodi-inputstream-rtmp{b}
The following partially installed packages will be configured:
kodi
1 packages updated, 0 newly installed, 0 to be removed and 0 not updated.
You will need to download 77.7 kB of archives. After unpacking, 28.7 kB will be used.
The following packages have unmet dependencies:
kodi-inputstream-rtmp : Depends on: kodi-api-inputstream (>= 3.2.0) which is a virtual package, provided by:
- kodi (2:20.1+dfsg-1) provides kodi-api-inputstream=3.2.0, but 3:20.5-4~bookworm is installed
Depends: kodi-api-inputstream (< 3.3.0) which is a virtual package, provided by:
- kodi (2:20.1+dfsg-1) provides kodi-api-inputstream=3.2.0, but 3:20.5-4~bookworm is installed
The following actions will resolve these dependencies:
Keep the following packages in their current version:
1) kodi-inputstream-rtmp [19.0.1-3~bullseye (now)]
Accept this solution? [Y/n/q/?]
As you can see on the GitHub link you shared, it seems an issue with the specific package as Raspberry side. It has no relation to source file configuration
Ok, I’ll download the addon zip from GitHub and install it via Kodi. Hopefully it works.
Can you tell me what is the command line to install the zip file directly from the github website ?
Unsatisfied dependencies:
kodi-inputstream-rtmp : Depends: kodi-api-inputstream (>= 3.3.0)
Depends: kodi-api-inputstream (< 3.4.0)
Error: Unable to correct problems, you have held broken packages.
Error: The following information from --solver 3.0 may provide additional context:
Unable to satisfy dependencies. Reached two conflicting decisions:
1. kodi:armhf=2:21.2+dfsg-1 is not selected for install
2. kodi:armhf=2:21.2+dfsg-1 is selected for install because:
1. kodi-inputstream-rtmp:armhf=21.1.2+ds-1 is selected for install
2. kodi-inputstream-rtmp:armhf=21.1.2+ds-1 Depends kodi-api-inputstream (>= 3.3.0)
Ohhh, the Debian kodi package provides kodi-api-inputstream to solve the dependency, and the RPi kodi-inputstream-rtmp package does not depend on kodi-api-inputstream. The problem is that APT selects the kodi package from the RPi repo, but the kodi-inputstream-rtmp package from Debian. Reason is that the RPi kodi package has a higher epoch version to be preferred in any case, while this is not true for other Kodi related packages:
You just need to pull kodi-inputstream-rtmp from the RPi repo. The following sets the priority for the package from the RPi repo one point higher, to achieve this:
This has nothing to do with DietPi and a new installation would not change this. Answer of @MichaIng would have been working on the old system as well. However you can use this on the new system same way