Open
Description
I'm building a docker image for the latest Cockatrice version and it's failing due to qt6 dependencies. Here is my Dockerfile using the ubuntu:noble
base image:
FROM ubuntu:noble
ADD https://github.com/Cockatrice/Cockatrice/releases/download/2025-04-03-Release-2.10.2/Cockatrice-Omenpath-2.10.2-Ubuntu24.04.deb ./cockatrice.deb
RUN apt-get install -y ./cockatrice.deb
RUN touch /var/log/servatrice.log && ln -sf /dev/stdout /var/log/servatrice.log
COPY servatrice.ini /usr/share/servatrice/servatrice.ini
CMD [ "/usr/bin/servatrice", "--config", "/usr/share/servatrice/servatrice.ini" ]
And here is the failure message:
2025-05-30T14:20:27.4759548Z #10 [3/5] RUN apt-get install -y ./cockatrice.deb
2025-05-30T14:20:27.5585485Z #10 0.164 Reading package lists...
2025-05-30T14:20:27.5586609Z #10 0.173 Building dependency tree...
2025-05-30T14:20:27.5589797Z #10 0.174 Reading state information...
2025-05-30T14:20:27.5590666Z #10 0.176 Some packages could not be installed. This may mean that you have
2025-05-30T14:20:27.5591518Z #10 0.176 requested an impossible situation or if you are using the unstable
2025-05-30T14:20:27.5592432Z #10 0.176 distribution that some required packages have not yet been created
2025-05-30T14:20:27.5593048Z #10 0.176 or been moved out of Incoming.
2025-05-30T14:20:27.5593608Z #10 0.176 The following information may help to resolve the situation:
2025-05-30T14:20:27.5594142Z #10 0.176
2025-05-30T14:20:27.5594518Z #10 0.176 The following packages have unmet dependencies:
2025-05-30T14:20:27.5595169Z #10 0.177 cockatrice : Depends: libqt6multimedia6 but it is not installable
2025-05-30T14:20:27.5595866Z #10 0.177 Depends: libqt6svg6 but it is not installable
2025-05-30T14:20:27.5596491Z #10 0.177 Depends: qt6-qpa-plugins but it is not installable
2025-05-30T14:20:27.5597530Z #10 0.177 Depends: qt6-image-formats-plugins but it is not installable
2025-05-30T14:20:27.5605608Z #10 0.177 Depends: libprotobuf32t64 (>= 3.21.12) but it is not installable
2025-05-30T14:20:27.5610983Z #10 0.177 Depends: libqt6core6t64 (>= 6.4.0) but it is not installable
2025-05-30T14:20:27.5612162Z #10 0.177 Depends: libqt6gui6t64 (>= 6.4.0) but it is not installable
2025-05-30T14:20:27.5612928Z #10 0.177 Depends: libqt6multimedia6 (>= 6.2.1) but it is not installable
2025-05-30T14:20:27.5613731Z #10 0.177 Depends: libqt6network6t64 (>= 6.4.0) but it is not installable
2025-05-30T14:20:27.5614555Z #10 0.177 Depends: libqt6printsupport6t64 (>= 6.1.2) but it is not installable
2025-05-30T14:20:27.5615394Z #10 0.177 Depends: libqt6sql6t64 (>= 6.1.2) but it is not installable
2025-05-30T14:20:27.5616110Z #10 0.177 E: Unable to correct problems, you have held broken packages.
2025-05-30T14:20:27.5616866Z #10 0.177 Depends: libqt6svg6 (>= 6.2.0) but it is not installable
2025-05-30T14:20:27.5617598Z #10 0.177 Depends: libqt6websockets6 (>= 6.2.1) but it is not installable
2025-05-30T14:20:27.5619063Z #10 0.177 Depends: libqt6widgets6t64 (>= 6.3.0) but it is not installable
2025-05-30T14:20:27.5620016Z #10 0.177 Depends: libqt6xml6t64 (>= 6.1.2) but it is not installable
2025-05-30T14:20:27.5620737Z #10 0.177 Depends: qt6-websockets-abi (= 6.4.2) but it is not installable
2025-05-30T14:20:27.5625483Z #10 ERROR: process "/bin/sh -c apt-get install -y ./cockatrice.deb" did not complete successfully: exit code: 100
2025-05-30T14:20:27.5627318Z ------
2025-05-30T14:20:27.5628817Z > [3/5] RUN apt-get install -y ./cockatrice.deb:
2025-05-30T14:20:27.5630552Z 0.177 Depends: libqt6multimedia6 (>= 6.2.1) but it is not installable
2025-05-30T14:20:27.5632266Z 0.177 Depends: libqt6network6t64 (>= 6.4.0) but it is not installable
2025-05-30T14:20:27.5635488Z 0.177 Depends: libqt6printsupport6t64 (>= 6.1.2) but it is not installable
2025-05-30T14:20:27.5638392Z 0.177 Depends: libqt6sql6t64 (>= 6.1.2) but it is not installable
2025-05-30T14:20:27.5639200Z 0.177 E: Unable to correct problems, you have held broken packages.
2025-05-30T14:20:27.5639901Z 0.177 Depends: libqt6svg6 (>= 6.2.0) but it is not installable
2025-05-30T14:20:27.5640596Z 0.177 Depends: libqt6websockets6 (>= 6.2.1) but it is not installable
2025-05-30T14:20:27.5642311Z 0.177 Depends: libqt6widgets6t64 (>= 6.3.0) but it is not installable
2025-05-30T14:20:27.5643019Z 0.177 Depends: libqt6xml6t64 (>= 6.1.2) but it is not installable
2025-05-30T14:20:27.5643714Z 0.177 Depends: qt6-websockets-abi (= 6.4.2) but it is not installable
2025-05-30T14:20:27.5644255Z ------
2025-05-30T14:20:27.5644552Z Dockerfile:4
2025-05-30T14:20:27.5644862Z --------------------
2025-05-30T14:20:27.5645187Z 2 |
2025-05-30T14:20:27.5647939Z 3 | ADD https://github.com/Cockatrice/Cockatrice/releases/download/2025-04-03-Release-2.10.2/Cockatrice-Omenpath-2.10.2-Ubuntu24.04.deb ./cockatrice.deb
2025-05-30T14:20:27.5649106Z 4 | >>> RUN apt-get install -y ./cockatrice.deb
2025-05-30T14:20:27.5649561Z 5 |
2025-05-30T14:20:27.5650099Z 6 | RUN touch /var/log/servatrice.log && ln -sf /dev/stdout /var/log/servatrice.log
2025-05-30T14:20:27.5650728Z --------------------
2025-05-30T14:20:27.5651523Z ERROR: failed to solve: process "/bin/sh -c apt-get install -y ./cockatrice.deb" did not complete successfully: exit code: 100
2025-05-30T14:20:27.5693743Z ##[error]Process completed with exit code 1.
Metadata
Metadata
Assignees
Labels
No labels