I've just installed libsdl2-dev on my test trixie image here with no problems. Try on a clean image, and make sure you have done an apt update / apt full-upgrade.I'm running into this error when attempting to install the libsdl2-dev package.Code:
pi@raspberrypi:~ $ sudo apt install libsdl2-devSolving dependencies... Error! Some packages could not be installed. This may mean that you haverequested an impossible situation or if you are using the unstabledistribution that some required packages have not yet been createdor been moved out of Incoming.The following information may help to resolve the situation:Unsatisfied dependencies: libwayland-dev : Depends: libwayland-client0 (= 1.23.1-3) but 1.23.1-3+rpt1 is to be installed Depends: libwayland-server0 (= 1.23.1-3) but 1.23.1-3+rpt1 is to be installed Depends: libwayland-cursor0 (= 1.23.1-3) but 1.23.1-3+rpt1 is to be installed Depends: libwayland-egl1 (= 1.23.1-3) but 1.23.1-3+rpt1 is to be installedError: 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. libwayland-client0:arm64=1.23.1-3 is not selected for install 2. libwayland-client0:arm64=1.23.1-3 is selected as a downgrade because: 1. libsdl2-dev:arm64=2.32.4+dfsg-1 is selected for install 2. libsdl2-dev:arm64 Depends libwayland-dev 3. libwayland-dev:arm64 Depends libwayland-client0 (= 1.23.1-3)
Statistics: Posted by spl23 — Wed Jul 30, 2025 9:13 am