-
Notifications
You must be signed in to change notification settings - Fork 0
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
The following packages have unmet dependencies: kodi : Depends: kodi-bin #1
Comments
Try this instead
Also please show the output of
|
Thanks, this worked. This should probably be replaced in the guide.
(12 = country-code)
(I also had backports enabled in /etc/apt/sources.list already so creating that last file was redundant, maybe this should also go into the guide; commenting out that second backports didn't help with the problem) |
OK let me reproduce the issue and fix the guide. I will commit it after I update the repo (~3-6h hopefully) |
@mYnDstrEAm I updated the repo and the instruction. Since your sudo apt update
sudo apt install --install-recommends -t buster-backports kodi |
Great that worked! It didn't install all packages so I had to use Apper to install the rest (e.g. libpostproc55 and ffmpeg; this also happened with other packages with apt-get upgrade). Now I'll try to get the addons for reddit and lutris working (the youtube addon currently requires logging in and, unlike the reddit addon, doesn't allow watching videos without doing so). The Kodi-Lutris addon didn't work so far: RobLoach/lutris-kodi-addon#46 |
Other than that I'm interested in how the authenticity of the installed packages can be guaranteed with this setup (could debsums be used for this?). Is there any way to use hashes to verify authenticity of the packages in the repo / downloaded from your repo?
My repo is signed by my GPG key. The step of instruction where you install my public key gives APT an information to verify the downloaded files are exactly what I uploaded. To extend the protection further, I do sign every commit I push to the repo with the same GPG key. Please Google "SecureApt debian" and "git commit signing" and "git signed push" to get further technical information.
Of you want to ensure the builds do not contain backdoored code, you can build all the required packages yourself from my Salsa repos hosted under https://salsa.debian.org/basilgello I have created a script named debfest and a build environment named nsbootstrap that is based on nsjail and requires absolutely no root privileges to replace a VM. I will opensource it after I fix some issues as well as all manifests and source code branches sp that you can verify my builds.
Once these 3 things are working in a good way (e.g. these packages get moved into official backports and at least the 2 addons, if not for youtube, are working) I'd consider Kodi to run completely under Debian (and hence there'll be a FOSS comprehensive media center on Debian).
Reddit addon should be easy to fix. I hear about Lutris for the first time and I will check what it is. If it does not violate any copyright laws, it can be accepted to Kodi official addon repo. And if it is binary addon, I can package it for Debian.
|
This,is Python addon, so it should be easy to fix too :) I read the Lutris bugreport and I think I can install it on my testing VM.
|
Sounds great! For the verification of builds: do you know of a tool to compare hashes of all files within all the relevant git repos with all files of all other relevant git repos (the official kodi source code and all dependencies that are also downloaded from your repo) and to display a diff (all diferences)? Probably git can be used for this somehow - I'm not sure how such verification could be done in practice and how reproducible builds are currently verified. Also how does this work with the addon "Version check" that's apparently been added to the official Team Kodi Add-on repository now (it displays under Add-ons to update but when opening it, it only has the Install button, not the Update button, enabled)? Furthermore, why does Apper display v17.6 is installed even though I ran Lutris is amazing - it's one of the best GNU/Linux software there is. It doesn't violate any copyright laws. Not sure why it's not in the official Kodi Add-on repository. I'll ask about it. Maybe because it's not working good enough as is also indicated by not working on any Kodi version I tried under Debian so far. It would be nice if you could install and test it. |
For the verification of builds: do you know of a tool to compare hashes of all files within all the relevant git repos with all files of all other relevant git repos (the official kodi source code and all dependencies that are also downloaded from your repo) and to display a diff (all diferences)? Probably git can be used for this somehow - I'm not sure how such verification could be done in practice and how reproducible builds are currently verified.
You need to dive into reproducible builds. There are tools like diffoscope etc that you can find on https://reproducible-builds.org
--
Vasyl Gello
==================================================
Certified SolidWorks Expert
Mob.:+380 (98) 465 66 77
E-Mail: [email protected]
Skype: vasek.gello
==================================================
호랑이는 죽어서 가죽을 남기고 사람은 죽어서 이름을 남긴다
|
Thanks! I'll look into it later or at least I hope I find some time for it. For the Lutris-Kodi addon I have updated the linked issue: when installing the addon and running it without |
As it displayed 17.6 and not 19 in Apper I uninstalled the built version and removed the package on one of my machines. I went through the guide a second time. After the command to install I got this at the bottom of the installation output:
Methods 1-3 here did not work to resolve this. When I run
And when I run On another machine the Kodi from your repository is still installed and it also displays v 19 in Apper. |
Can you please full log of `apt install -f` (maybe redacting machine names and other sensitive stuff) ?
|
That's a ton of packages after |
Please post both logs: |
Here's the output of
Here's the output of
Should I maybe edit Also |
Did you try `apt install -t buster-backports <your-list-of-broken-packages>` ? like libavutil56 etc?
|
When I run
I get the same output as the second output of the previous comment when I run |
When I run
when I run it I get:
If using --force-overwrite or removing the changelog files or moving the directory with the problematic files solves this problem it should probably be prevented somehow. I'll see if it also occurs on another machine. Probably it has to do with the removal of the built and installed kodi versions of kodi. |
The solution was:
I'll put the above outputs into pastebins. This probably should be prevented somehow but maybe one only needs to make sure all Kodis are removed before installing from your repo. The Lutris-Kodi addon does display games on one of my machines now. I have edited the issue there with an error I get on another machine where it does not display any games. |
When running
sudo apt-get install kodi
after completing the other steps of the guide I get:After fully removing the previously installed version of Kodi with
sudo apt autoremove
I get:Also when I run
sudo echo "deb http://deb.debian.org/debian/ buster-backports main contrib" > /etc/apt/sources.list.d/buster-backports.list
(I would not add non-free) I getbash: /etc/apt/sources.list.d/buster-backports.list: Permission denied
.The text was updated successfully, but these errors were encountered: