I'm trying to install Mnemosyne, an ancient project I've been using daily for over a decade. It's written in Python and uses QT5, so one of its dependencies is python3-pyqt5. For the past few years I've been using a PinePhone running Manjaro/Phosh for this.
Trying to install python3-pyqt5 on my FLX1s produces dependency conflicts. It seems like the Python QT5 packages need to be adapted to the version of QT5 that comes with FuriOS. Could someone give me some hints what needs to happen here?
furios@FuriPhoneFLX1s:~/Mnemosyne-2.7.3$ sudo apt install python3-pyqt5
Solving dependencies... Error!
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
Unsatisfied dependencies:
python3-pyqt5 : Depends: libqt5gui5t64 (>= 5.15) but it is not installable
Error: 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. python3-pyqt5:arm64=5.15.11+dfsg-2+b2 is selected for install
2. python3-pyqt5:arm64 Depends libqt5gui5t64 (>= 5.15)
but none of the choices are installable:
- libqt5gui5t64:arm64 is available in version 5.15.17+dfsg-4
but none of the choices are installable:
- libqt5gui5t64:arm64=5.15.17+dfsg-4 is not selected for install
If I try to install libqt5gui5:amd64:
furios@FuriPhoneFLX1s:~/Mnemosyne-2.7.3$ sudo apt install libqt5gui5t64:amd64
Solving dependencies... Error!
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
Unsatisfied dependencies:
furios-phosh-full : Depends: furios-camera but it is not going to be installed
Error: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Error: The following information from --solver 3.0 may provide additional context:
Unable to satisfy dependencies. Reached two conflicting decisions:
1. furios-phosh-full:arm64 is selected for install
2. furios-phosh-full:arm64 is available in versions 126+git20251108023211.4a5ec81.forky.production, 125+git20251020020535.9022a08.forky.production, 124+git20250830043751.de7cb69.forky.production, 123+git20250822231300.7db703c.forky.production
but none of the choices are installable:
- furios-phosh-full:arm64=126+git20251108023211.4a5ec81.forky.production Depends furios-camera
but none of the choices are installable:
- furios-camera:arm64 Depends libqt5gui5t64 (>= 5.9.0~beta) | libqt5gui5-gles (>= 5.9.0~beta)
but none of the choices are installable:
- libqt5gui5-gles:arm64 is selected for removal because:
1. libqt5gui5t64:amd64=5.15.17+dfsg-4 is selected for install
2. libqt5gui5-gles:arm64 Conflicts libqt5gui5:amd64
- libqt5gui5t64:arm64 is available in version 5.15.17+dfsg-4
but none of the choices are installable:
- libqt5gui5t64:arm64=5.15.17+dfsg-4 is not selected for install
- furios-phosh-full:arm64=125+git20251020020535.9022a08.forky.production is not selected for install
- furios-phosh-full:arm64=124+git20250830043751.de7cb69.forky.production is not selected for install
- furios-phosh-full:arm64=123+git20250822231300.7db703c.forky.production is not selected for install
It looks like FuriOS (including the camera) depends on a GLES version of QT5, but the Python QT5 packages somehow have dependencies that conflict with that.
we don't ship any fork of QT5, but i do know what the issue is. we use libqt5gui5-gles to get gles versions of qt gui modules, but this python package has an explicit dependency on libqt5gui5 (libqt5gui5t64) which has a hard conflict against libqt5gui5-gles (since gl and gles implementations cannot live at the same time). you can open a bug report in debian to fix the debian packaging for your package and that should get you by.