-
-
Notifications
You must be signed in to change notification settings - Fork 506
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
Installation error of Kodi: post-installation script fails #6703
Comments
Strange, this looks like this ancient error which happened only with the 32-bit package on Buster: RPi-Distro/repo#153 Ah, indeed the missing directory is not even shipped anymore on Bookworm, as it has been obsoleted. So there is an update required now by the RPi maintainers. Workaround: sudo mkdir -p /etc/polkit-1/localauthority/50-local.d |
another workaround i found yesterday was uninstall kodi-repository-kodi: then retry the dietpi-software kodi script (with success). |
If |
it had been a cleaner installation because I wanted to set up kodi again and then came these errors that, the autoinstall has completely scraped. i have then made it with after install and have taken as help chatgpt. now everything walks, but that can still change, after which it looks but not yet. |
@joshi0531 |
@MichaIng: No after i uninstalled kodi-repository-kodi, there is no error message anymore (and you are right, kodi was installed on Dietpi 8.22). Sorry i thought my issue was linked with joshi0531's one. Should i delete my messages to avoid any confusion? |
No problem. This commit should solve the package conflict, so Kodi can upgrade to the build from the RPi repo without file conflicts: 5365581 |
Hello, I dont want to hijack this thread but maybe this is somewhat related to my problem, I was getting this error on rpi 3b, and it was fixed with the workaround posted previously, but the problem that I have is that I can't seem to make Kodi install with hardware acceleration support because all my media files when playing use 100% of the CPU and that didnt happen with 19.4 and bullseye, I tried this using rpi3b 1.2V both with dietpi bookworm 64bit and dietpi bookworm armhf I doubt this bug is directly related to dietpi but this makes upgrading out of the question for now. |
Wanted to throw my name in the hat, this worked for me as well. |
@freemanpt I re-added the workaround for Bookworm to |
- DietPi-Software | Kodi: Worked around an issue on RPi Bookworm systems where installing Kodi failed due to a missing directory. Many thanks to @joshi0531 for reporting this issue: #6703 - DietPi-Software | Update fallback URLs
Creating a bug report/issue
Required Information
G_DIETPI_VERSION_CORE=8
G_DIETPI_VERSION_SUB=23
G_DIETPI_VERSION_RC=3
G_GITBRANCH='master'
G_GITOWNER='MichaIng'
G_LIVE_PATCH_STATUS[0]='applied'
Linux kkodi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
Additional Information (if applicable)
Steps to reproduce
sudo apt-get install kodi
or over the dietpi-software ui.Expected behaviour
Kodi should be successfully installed and configured.
Actual behaviour
The error "dpkg: error processing package kodi (--configure): installed kodi package post-installation script subprocess returned error exit status 1" occurs.
Extra details
DietPi Version: [insert your DietPi version here]
Kodi Version: 3:20.2-2~bookworm
Excerpt from
dpkg --configure -a
log:Setting up kodi (3:20.2-2~bookworm) ...
dpkg: error processing package kodi (--configure):
installed kodi package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
kodi
Excerpt from the post-installation script:
sudo sh -x /var/lib/dpkg/info/kodi.postinst configure
The text was updated successfully, but these errors were encountered: