Closed Pro42good closed 8 months ago
Hello there 👋 Thanks for submitting your first issue to the Pi-Apps project! We'll try to get back to you as soon as possible. In the meantime, we encourage you join our Discord server, where you can ask any questions you might have.
Please respond as soon as possible if a Pi-Apps maintainer requests more information from you. Stale issues will be closed after a lengthy period of time with no response.
Hello. It seems that this is the core issue here:
libsdl2-2.0-0 : Breaks: libsdl2-2.0-0:armhf (!= 2.26.3+1rpi) but 2.26.5+dfsg-1 is installed
libsdl2-2.0-0:armhf : Breaks: libsdl2-2.0-0 (!= 2.26.5+dfsg-1) but 2.26.3+1rpi is installed
libsdl2-dev : Depends: libsdl2-2.0-0 (= 2.26.5+dfsg-1) but 2.26.3+1rpi is installed
You have 64-bit and 32-bit versions of these sdl packages installed at the same time. Pi-Apps did this and this is usually fine to do. Here's a screenshot of both installed at the same time on my system:
But on your system, for whatever reason, the 64-bit package is version 2.26.5+dfsg-1
and the 32-bit package is version 2.26.3+1rpi
. Not sure why.
Please run sudo apt update
, then send me the output of this command:
apt policy libsdl2-2.0-0:armhf
This command should show if the correct 2.26.5+dfsg-1
version is available but not yet installed for the 32-bit package.
Yeah the output was
~ $ apt policy libsdl2-2.0-0:armhf
libsdl2-2.0-0:armhf:
Installed: 2.26.5+dfsg-1
Candidate: 2.26.5+dfsg-1
Version table:
*** 2.26.5+dfsg-1 500
500 https://deb.debian.org/debian bookworm/main armhf Packages
100 /var/lib/dpkg/status
Edited by Botspot to fix your code formatting
Try this: sudo apt --fix-broken install -o Dpkg::Options::="--force-overwrite"
It worked Thanks. :)
I will try to improve our error diagnostics so that it will suggest this command to you in case this issue ever happens again.
Hey @Pro42good, in a popup dialog, did pi-apps say this to you?
You have overwritten system files which prevent packages that share files from being able to install.
It should not have said that, but I just need to make sure.
It said something about a system error, not anything about overwritten system files.
OK I have added a little fix to hopefully suggest the right repair command to anyone who encounters this error in the future.
See the change I made here: https://github.com/Botspot/pi-apps/commit/b0d10b602e07440061b404f8964eb33d2bf53f1d
Confirmations
What happened?
App Wont install/ I can't fix broken packages
Description
Hi so ive been trying to fix my broken packages and i go to PiGro And it isn't installed so i deinstall it and reinstall it but it doesn't work because it keeps saying i have broken packages, pls help
What are your system specs (run the following command in your terminal)?
(Recommended) Error log? Terminal output? Debug messages?