I think this is caused by having bookworm packages installed in trixie. If you uninstall all of the wayland packages that error references and then reinstall what you need just with the trixie sources, it should resolve itself.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)
But more importantly, I don't think we've done a good job of saying nobody should be doing any of this. I am of the opinion that you will run into many more issues like this and some of them will be trickier to get out of. If you upgrade from bookworm to trixie and use that as your main system and you don't have a deep knowledge of how Debian, your system is very likely to break at some point, even if it appears to be working okay right now.
The steps are provided because we know people will do it anyway, but I think they should come with a stronger disclaimer.
Statistics: Posted by ShiftPlusOne — Wed Jul 30, 2025 9:46 am