Skip to content
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

Failed to build container after Debian(?) update #77

Open
AenBleidd opened this issue Apr 27, 2023 · 0 comments · May be fixed by #79
Open

Failed to build container after Debian(?) update #77

AenBleidd opened this issue Apr 27, 2023 · 0 comments · May be fixed by #79

Comments

@AenBleidd
Copy link

Error message:

fatal: [localhost]: FAILED! => {"changed": true, "cmd": "TAG='' docker-compose build --no-cache", "delta": "0:00:17.699284", "end": "2023-04-27 17:42:13.582554", "msg": "non-zero return code", "rc": 1, "start": "2023-04-27 17:41:55.883270", "stderr": "Building mysql\nBuilding makeproject\nThe command '/bin/sh -c apt-get update     && apt-get install -y --no-install-recommends         ca-certificates         curl         dh-autoreconf         g++         git         libcurl4-gnutls-dev         default-libmysqlclient-dev         libssl-dev         m4         make         mysql-client         php7.0-cli         php7.0-mysql         php7.0-xml         pkg-config         python         python3         python-mysqldb         python3-mysqldb     && rm -rf /var/lib/apt/lists' returned a non-zero code: 100\nService 'makeproject' failed to build : Build failed", "stderr_lines": ["Building mysql", "Building makeproject", "The command '/bin/sh -c apt-get update     && apt-get install -y --no-install-recommends         ca-certificates         curl         dh-autoreconf         g++         git         libcurl4-gnutls-dev         default-libmysqlclient-dev         libssl-dev         m4         make         mysql-client         php7.0-cli         php7.0-mysql         php7.0-xml         pkg-config         python         python3         python-mysqldb         python3-mysqldb     && rm -rf /var/lib/apt/lists' returned a non-zero code: 100", "Service 'makeproject' failed to build : Build failed"], "stdout": "Sending build context to Docker daemon  2.048kB\r\r\nStep 1/3 : FROM mariadb:10.3.8-bionic AS mysql\n10.3.8-bionic: Pulling from library/mariadb\nc64513b74145: Pulling fs layer\n01b8b12bad90: Pulling fs layer\nc5d85cf7a05f: Pulling fs layer\nb6b268720157: Pulling fs layer\ne12192999ff1: Pulling fs layer\nccf7ebdee0e6: Pulling fs layer\n64ea18a89ab6: Pulling fs layer\n95a351308aea: Pulling fs layer\nef24c7657c2f: Pulling fs layer\n29b5cb4861e5: Pulling fs layer\n9ed6d999842e: Pulling fs layer\n07cf8ee7af18: Pulling fs layer\nafa500ed3b27: Pulling fs layer\n5632a6295783: Pulling fs layer\nb3e5b3adf01d: Pulling fs layer\nb6b268720157: Waiting\ne12192999ff1: Waiting\nccf7ebdee0e6: Waiting\n64ea18a89ab6: Waiting\n95a351308aea: Waiting\nafa500ed3b27: Waiting\nef24c7657c2f: Waiting\n29b5cb4861e5: Waiting\n5632a6295783: Waiting\nb3e5b3adf01d: Waiting\n9ed6d999842e: Waiting\n07cf8ee7af18: Waiting\n01b8b12bad90: Verifying Checksum\n01b8b12bad90: Download complete\nc5d85cf7a05f: Verifying Checksum\nc5d85cf7a05f: Download complete\ne12192999ff1: Verifying Checksum\ne12192999ff1: Download complete\nb6b268720157: Verifying Checksum\nb6b268720157: Download complete\nc64513b74145: Verifying Checksum\nc64513b74145: Download complete\nccf7ebdee0e6: Verifying Checksum\nccf7ebdee0e6: Download complete\n95a351308aea: Verifying Checksum\n95a351308aea: Download complete\n64ea18a89ab6: Verifying Checksum\n64ea18a89ab6: Download complete\nef24c7657c2f: Verifying Checksum\nef24c7657c2f: Download complete\n9ed6d999842e: Verifying Checksum\n9ed6d999842e: Download complete\n29b5cb4861e5: Verifying Checksum\n29b5cb4861e5: Download complete\n07cf8ee7af18: Verifying Checksum\n07cf8ee7af18: Download complete\n5632a6295783: Verifying Checksum\n5632a6295783: Download complete\nb3e5b3adf01d: Verifying Checksum\nb3e5b3adf01d: Download complete\nc64513b74145: Pull complete\nafa500ed3b27: Verifying Checksum\nafa500ed3b27: Download complete\n01b8b12bad90: Pull complete\nc5d85cf7a05f: Pull complete\nb6b268720157: Pull complete\ne12192999ff1: Pull complete\nccf7ebdee0e6: Pull complete\n64ea18a89ab6: Pull complete\n95a351308aea: Pull complete\nef24c7657c2f: Pull complete\n29b5cb4861e5: Pull complete\n9ed6d999842e: Pull complete\n07cf8ee7af18: Pull complete\nafa500ed3b27: Pull complete\n5632a6295783: Pull complete\nb3e5b3adf01d: Pull complete\nDigest: sha256:edef80de393cf4a79504168c663f8b0c6b15060333e5a7d7aee3dc0a4de6e927\nStatus: Downloaded newer image for mariadb:10.3.8-bionic\n ---> 2c73b3262fff\nStep 2/3 : ENV MYSQL_ALLOW_EMPTY_PASSWORD=yes\n ---> Running in 63fe35cbb3c3\nRemoving intermediate container 63fe35cbb3c3\n ---> ccadf3e9dae7\nStep 3/3 : FROM mysql AS mysql-defaultargs\n ---> ccadf3e9dae7\nSuccessfully built ccadf3e9dae7\nSuccessfully tagged boinc/server_mysql:latest-defaultargs\nSending build context to Docker daemon  127.5MB\r\r\nStep 1/32 : ARG TAG\nStep 2/32 : FROM debian:stretch-slim AS base\nstretch-slim: Pulling from library/debian\nbff3e048017e: Pulling fs layer\nbff3e048017e: Verifying Checksum\nbff3e048017e: Download complete\nbff3e048017e: Pull complete\nDigest: sha256:abaa313c7e1dfe16069a1a42fa254014780f165d4fd084844602edbe29915e70\nStatus: Downloaded newer image for debian:stretch-slim\n ---> 0e23ec2ce5e6\nStep 3/32 : LABEL maintainer=\"Marius Millea <[email protected]>\"\n ---> Running in 24f36a57fb26\nRemoving intermediate container 24f36a57fb26\n ---> f26240631154\nStep 4/32 : RUN apt-get update     && apt-get install -y --no-install-recommends         ca-certificates         curl         dh-autoreconf         g++         git         libcurl4-gnutls-dev         default-libmysqlclient-dev         libssl-dev         m4         make         mysql-client         php7.0-cli         php7.0-mysql         php7.0-xml         pkg-config         python         python3         python-mysqldb         python3-mysqldb     && rm -rf /var/lib/apt/lists\n ---> Running in aac3d2b1a011\nIgn:1 http://deb.debian.org/debian stretch InRelease\nIgn:2 http://deb.debian.org/debian stretch-updates InRelease\nIgn:3 http://security.debian.org/debian-security stretch/updates InRelease\nIgn:4 http://deb.debian.org/debian stretch Release\nIgn:5 http://security.debian.org/debian-security stretch/updates Release\nIgn:6 http://deb.debian.org/debian stretch-updates Release\nIgn:7 http://security.debian.org/debian-security stretch/updates/main all Packages\nIgn:8 http://deb.debian.org/debian stretch/main amd64 Packages\nIgn:9 http://security.debian.org/debian-security stretch/updates/main amd64 Packages\nIgn:10 http://deb.debian.org/debian stretch/main all Packages\nIgn:7 http://security.debian.org/debian-security stretch/updates/main all Packages\nIgn:11 http://deb.debian.org/debian stretch-updates/main all Packages\nIgn:9 http://security.debian.org/debian-security stretch/updates/main amd64 Packages\nIgn:12 http://deb.debian.org/debian stretch-updates/main amd64 Packages\nIgn:7 http://security.debian.org/debian-security stretch/updates/main all Packages\nIgn:8 http://deb.debian.org/debian stretch/main amd64 Packages\nIgn:9 http://security.debian.org/debian-security stretch/updates/main amd64 Packages\nIgn:10 http://deb.debian.org/debian stretch/main all Packages\nIgn:11 http://deb.debian.org/debian stretch-updates/main all Packages\nIgn:7 http://security.debian.org/debian-security stretch/updates/main all Packages\nIgn:12 http://deb.debian.org/debian stretch-updates/main amd64 Packages\nIgn:9 http://security.debian.org/debian-security stretch/updates/main amd64 Packages\nIgn:8 http://deb.debian.org/debian stretch/main amd64 Packages\nIgn:7 http://security.debian.org/debian-security stretch/updates/main all Packages\nIgn:10 http://deb.debian.org/debian stretch/main all Packages\nIgn:9 http://security.debian.org/debian-security stretch/updates/main amd64 Packages\nIgn:7 http://security.debian.org/debian-security stretch/updates/main all Packages\nErr:9 http://security.debian.org/debian-security stretch/updates/main amd64 Packages\n  404  Not Found [IP: 151.101.2.132 80]\nIgn:11 http://deb.debian.org/debian stretch-updates/main all Packages\nIgn:12 http://deb.debian.org/debian stretch-updates/main amd64 Packages\nIgn:8 http://deb.debian.org/debian stretch/main amd64 Packages\nIgn:10 http://deb.debian.org/debian stretch/main all Packages\nIgn:11 http://deb.debian.org/debian stretch-updates/main all Packages\nIgn:12 http://deb.debian.org/debian stretch-updates/main amd64 Packages\nIgn:8 http://deb.debian.org/debian stretch/main amd64 Packages\nIgn:10 http://deb.debian.org/debian stretch/main all Packages\nIgn:11 http://deb.debian.org/debian stretch-updates/main all Packages\nIgn:12 http://deb.debian.org/debian stretch-updates/main amd64 Packages\nErr:8 http://deb.debian.org/debian stretch/main amd64 Packages\n  404  Not Found\nIgn:10 http://deb.debian.org/debian stretch/main all Packages\nIgn:11 http://deb.debian.org/debian stretch-updates/main all Packages\nErr:12 http://deb.debian.org/debian stretch-updates/main amd64 Packages\n  404  Not Found\nReading package lists...\n\u001b[91mW: The repository 'http://deb.debian.org/debian stretch Release' does not have a Release file.\nW: The repository 'http://security.debian.org/debian-security stretch/updates Release' does not have a Release file.\u001b[0m\u001b[91m\n\u001b[0m\u001b[91mW: The repository 'http://deb.debian.org/debian stretch-updates Release' does not have a Release file.\nE: Failed to fetch http://deb.debian.org/debian/dists/stretch/main/binary-amd64/Packages  404  Not Found\nE: Failed to fetch http://security.debian.org/debian-security/dists/stretch/updates/main/binary-amd64/Packages  404  Not Found [IP: 151.101.2.132 80]\u001b[0m\u001b[91m\n\u001b[0m\u001b[91mE: \u001b[0m\u001b[91mFailed to fetch http://deb.debian.org/debian/dists/stretch-updates/main/binary-amd64/Packages  404  Not Found\u001b[0m\u001b[91m\n\u001b[0m\u001b[91mE\u001b[0m\u001b[91m: Some index files failed to download. They have been ignored, or old ones used instead.\n\u001b[0m", "stdout_lines": ["Sending build context to Docker daemon  2.048kB", "", "Step 1/3 : FROM mariadb:10.3.8-bionic AS mysql", "10.3.8-bionic: Pulling from library/mariadb", "c64513b74145: Pulling fs layer", "01b8b12bad90: Pulling fs layer", "c5d85cf7a05f: Pulling fs layer", "b6b268720157: Pulling fs layer", "e12192999ff1: Pulling fs layer", "ccf7ebdee0e6: Pulling fs layer", "64ea18a89ab6: Pulling fs layer", "95a351308aea: Pulling fs layer", "ef24c7657c2f: Pulling fs layer", "29b5cb4861e5: Pulling fs layer", "9ed6d999842e: Pulling fs layer", "07cf8ee7af18: Pulling fs layer", "afa500ed3b27: Pulling fs layer", "5632a6295783: Pulling fs layer", "b3e5b3adf01d: Pulling fs layer", "b6b268720157: Waiting", "e12192999ff1: Waiting", "ccf7ebdee0e6: Waiting", "64ea18a89ab6: Waiting", "95a351308aea: Waiting", "afa500ed3b27: Waiting", "ef24c7657c2f: Waiting", "29b5cb4861e5: Waiting", "5632a6295783: Waiting", "b3e5b3adf01d: Waiting", "9ed6d999842e: Waiting", "07cf8ee7af18: Waiting", "01b8b12bad90: Verifying Checksum", "01b8b12bad90: Download complete", "c5d85cf7a05f: Verifying Checksum", "c5d85cf7a05f: Download complete", "e12192999ff1: Verifying Checksum", "e12192999ff1: Download complete", "b6b268720157: Verifying Checksum", "b6b268720157: Download complete", "c64513b74145: Verifying Checksum", "c64513b74145: Download complete", "ccf7ebdee0e6: Verifying Checksum", "ccf7ebdee0e6: Download complete", "95a351308aea: Verifying Checksum", "95a351308aea: Download complete", "64ea18a89ab6: Verifying Checksum", "64ea18a89ab6: Download complete", "ef24c7657c2f: Verifying Checksum", "ef24c7657c2f: Download complete", "9ed6d999842e: Verifying Checksum", "9ed6d999842e: Download complete", "29b5cb4861e5: Verifying Checksum", "29b5cb4861e5: Download complete", "07cf8ee7af18: Verifying Checksum", "07cf8ee7af18: Download complete", "5632a6295783: Verifying Checksum", "5632a6295783: Download complete", "b3e5b3adf01d: Verifying Checksum", "b3e5b3adf01d: Download complete", "c64513b74145: Pull complete", "afa500ed3b27: Verifying Checksum", "afa500ed3b27: Download complete", "01b8b12bad90: Pull complete", "c5d85cf7a05f: Pull complete", "b6b268720157: Pull complete", "e12192999ff1: Pull complete", "ccf7ebdee0e6: Pull complete", "64ea18a89ab6: Pull complete", "95a351308aea: Pull complete", "ef24c7657c2f: Pull complete", "29b5cb4861e5: Pull complete", "9ed6d999842e: Pull complete", "07cf8ee7af18: Pull complete", "afa500ed3b27: Pull complete", "5632a6295783: Pull complete", "b3e5b3adf01d: Pull complete", "Digest: sha256:edef80de393cf4a79504168c663f8b0c6b15060333e5a7d7aee3dc0a4de6e927", "Status: Downloaded newer image for mariadb:10.3.8-bionic", " ---> 2c73b3262fff", "Step 2/3 : ENV MYSQL_ALLOW_EMPTY_PASSWORD=yes", " ---> Running in 63fe35cbb3c3", "Removing intermediate container 63fe35cbb3c3", " ---> ccadf3e9dae7", "Step 3/3 : FROM mysql AS mysql-defaultargs", " ---> ccadf3e9dae7", "Successfully built ccadf3e9dae7", "Successfully tagged boinc/server_mysql:latest-defaultargs", "Sending build context to Docker daemon  127.5MB", "", "Step 1/32 : ARG TAG", "Step 2/32 : FROM debian:stretch-slim AS base", "stretch-slim: Pulling from library/debian", "bff3e048017e: Pulling fs layer", "bff3e048017e: Verifying Checksum", "bff3e048017e: Download complete", "bff3e048017e: Pull complete", "Digest: sha256:abaa313c7e1dfe16069a1a42fa254014780f165d4fd084844602edbe29915e70", "Status: Downloaded newer image for debian:stretch-slim", " ---> 0e23ec2ce5e6", "Step 3/32 : LABEL maintainer=\"Marius Millea <[email protected]>\"", " ---> Running in 24f36a57fb26", "Removing intermediate container 24f36a57fb26", " ---> f26240631154", "Step 4/32 : RUN apt-get update     && apt-get install -y --no-install-recommends         ca-certificates         curl         dh-autoreconf         g++         git         libcurl4-gnutls-dev         default-libmysqlclient-dev         libssl-dev         m4         make         mysql-client         php7.0-cli         php7.0-mysql         php7.0-xml         pkg-config         python         python3         python-mysqldb         python3-mysqldb     && rm -rf /var/lib/apt/lists", " ---> Running in aac3d2b1a011", "Ign:1 http://deb.debian.org/debian stretch InRelease", "Ign:2 http://deb.debian.org/debian stretch-updates InRelease", "Ign:3 http://security.debian.org/debian-security stretch/updates InRelease", "Ign:4 http://deb.debian.org/debian stretch Release", "Ign:5 http://security.debian.org/debian-security stretch/updates Release", "Ign:6 http://deb.debian.org/debian stretch-updates Release", "Ign:7 http://security.debian.org/debian-security stretch/updates/main all Packages", "Ign:8 http://deb.debian.org/debian stretch/main amd64 Packages", "Ign:9 http://security.debian.org/debian-security stretch/updates/main amd64 Packages", "Ign:10 http://deb.debian.org/debian stretch/main all Packages", "Ign:7 http://security.debian.org/debian-security stretch/updates/main all Packages", "Ign:11 http://deb.debian.org/debian stretch-updates/main all Packages", "Ign:9 http://security.debian.org/debian-security stretch/updates/main amd64 Packages", "Ign:12 http://deb.debian.org/debian stretch-updates/main amd64 Packages", "Ign:7 http://security.debian.org/debian-security stretch/updates/main all Packages", "Ign:8 http://deb.debian.org/debian stretch/main amd64 Packages", "Ign:9 http://security.debian.org/debian-security stretch/updates/main amd64 Packages", "Ign:10 http://deb.debian.org/debian stretch/main all Packages", "Ign:11 http://deb.debian.org/debian stretch-updates/main all Packages", "Ign:7 http://security.debian.org/debian-security stretch/updates/main all Packages", "Ign:12 http://deb.debian.org/debian stretch-updates/main amd64 Packages", "Ign:9 http://security.debian.org/debian-security stretch/updates/main amd64 Packages", "Ign:8 http://deb.debian.org/debian stretch/main amd64 Packages", "Ign:7 http://security.debian.org/debian-security stretch/updates/main all Packages", "Ign:10 http://deb.debian.org/debian stretch/main all Packages", "Ign:9 http://security.debian.org/debian-security stretch/updates/main amd64 Packages", "Ign:7 http://security.debian.org/debian-security stretch/updates/main all Packages", "Err:9 http://security.debian.org/debian-security stretch/updates/main amd64 Packages", "  404  Not Found [IP: 151.101.2.132 80]", "Ign:11 http://deb.debian.org/debian stretch-updates/main all Packages", "Ign:12 http://deb.debian.org/debian stretch-updates/main amd64 Packages", "Ign:8 http://deb.debian.org/debian stretch/main amd64 Packages", "Ign:10 http://deb.debian.org/debian stretch/main all Packages", "Ign:11 http://deb.debian.org/debian stretch-updates/main all Packages", "Ign:12 http://deb.debian.org/debian stretch-updates/main amd64 Packages", "Ign:8 http://deb.debian.org/debian stretch/main amd64 Packages", "Ign:10 http://deb.debian.org/debian stretch/main all Packages", "Ign:11 http://deb.debian.org/debian stretch-updates/main all Packages", "Ign:12 http://deb.debian.org/debian stretch-updates/main amd64 Packages", "Err:8 http://deb.debian.org/debian stretch/main amd64 Packages", "  404  Not Found", "Ign:10 http://deb.debian.org/debian stretch/main all Packages", "Ign:11 http://deb.debian.org/debian stretch-updates/main all Packages", "Err:12 http://deb.debian.org/debian stretch-updates/main amd64 Packages", "  404  Not Found", "Reading package lists...", "\u001b[91mW: The repository 'http://deb.debian.org/debian stretch Release' does not have a Release file.", "W: The repository 'http://security.debian.org/debian-security stretch/updates Release' does not have a Release file.\u001b[0m\u001b[91m", "\u001b[0m\u001b[91mW: The repository 'http://deb.debian.org/debian stretch-updates Release' does not have a Release file.", "E: Failed to fetch http://deb.debian.org/debian/dists/stretch/main/binary-amd64/Packages  404  Not Found", "E: Failed to fetch http://security.debian.org/debian-security/dists/stretch/updates/main/binary-amd64/Packages  404  Not Found [IP: 151.101.2.132 80]\u001b[0m\u001b[91m", "\u001b[0m\u001b[91mE: \u001b[0m\u001b[91mFailed to fetch http://deb.debian.org/debian/dists/stretch-updates/main/binary-amd64/Packages  404  Not Found\u001b[0m\u001b[91m", "\u001b[0m\u001b[91mE\u001b[0m\u001b[91m: Some index files failed to download. They have been ignored, or old ones used instead.", "\u001b[0m"]}
@AenBleidd AenBleidd linked a pull request May 2, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant