Skip to content

can't build image #161

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
cabiamdos opened this issue Mar 21, 2025 · 0 comments
Open

can't build image #161

cabiamdos opened this issue Mar 21, 2025 · 0 comments

Comments

@cabiamdos
Copy link

In your Dockerfile you are using debian:latest and I believe some depenedncies doesn't have installation candidate because you should stick either with one version of debian or update the version dependencies

docker build -f Dockerfile.debian -t "qvhrun:$(git branch --show-current)" .
[+] Building 17.2s (5/9)                                                                   docker:default  => [internal] load build definition from Dockerfile.debian                                          0.1s  => => transferring dockerfile: 685B                                                                 0.0s  => [internal] load metadata for docker.io/library/debian:latest                                     1.6s  => [internal] load .dockerignore                                                                    0.1s  => => transferring context: 2B                                                                      0.0s  => [1/6] FROM docker.io/library/debian:latest@sha256:18023f131f52fc3ea21973cabffe0b216c60b417fd247  8.3s  => => resolve docker.io/library/debian:latest@sha256:18023f131f52fc3ea21973cabffe0b216c60b417fd247  0.1s  => => sha256:d844481994701734800e3e8708049b9585d1b81472f9856157fe17e45ab11f7a 453B / 453B           0.0s  => => sha256:7cd785773db44407e20a679ce5439222e505475eed5b99f1910eb2cda51729ab 48.47MB / 48.47MB     5.1s  => => sha256:18023f131f52fc3ea21973cabffe0b216c60b417fd2478e94d9d59981ebba6af 8.52kB / 8.52kB       0.0s  => => sha256:d12a7c2a24a396fc669fc4a571e482b75346dfc5af4a5c1140c8250eacdf3b3f 1.02kB / 1.02kB       0.0s  => => extracting sha256:7cd785773db44407e20a679ce5439222e505475eed5b99f1910eb2cda51729ab            2.8s  => ERROR [2/6] RUN apt-get update && apt install -y libgstreamer1.0-0 gstreamer1.0-plugins-base gs  6.9s ------
 > [2/6] RUN apt-get update && apt install -y libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-doc gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio:
0.390 Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
0.440 Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
0.464 Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
0.554 Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8792 kB]
1.504 Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [13.5 kB]
1.508 Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [249 kB]
2.791 Fetched 9310 kB in 2s (3797 kB/s)
2.791 Reading package lists...
3.820
3.820 WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
3.820
3.823 Reading package lists...
4.841 Building dependency tree...
5.119 Reading state information...
5.131 Package gstreamer1.0-doc is not available, but is referred to by another package.
5.131 This may mean that the package is missing, has been obsoleted, or
5.131 is only available from another source
5.131
5.135 E: Package 'gstreamer1.0-doc' has no installation candidate
------
Dockerfile.debian:3
--------------------
   1 |     FROM debian:latest
   2 |     #Gstreamer dependencies take quite some time to install so I separate them
   3 | >>> RUN apt-get update && apt install -y libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-doc gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio
   4 |     #Other dependencies
   5 |     RUN apt-get update && apt install -y wget zip libusb-1.0
--------------------
ERROR: failed to solve: process "/bin/sh -c apt-get update && apt install -y libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-doc gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio" did not complete successfully: exit code: 100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant