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

Apt-get error while docker building #631

Open
Waste2Time opened this issue Jan 5, 2024 · 1 comment
Open

Apt-get error while docker building #631

Waste2Time opened this issue Jan 5, 2024 · 1 comment

Comments

@Waste2Time
Copy link

I've encountered a problem during the Docker build process. From the output I'm guessing the reason is that Jessie has Achieved, but I don't know how to modify the Dockerfile or anything to fix it.

Here is the output:

$ docker build -f Dockerfile.arm32v7 -t yourname/webui-aria2 .
[+] Building 20.3s (10/18)                                                                        docker:default
 => [internal] load build definition from Dockerfile.arm32v7                                                0.0s
 => => transferring dockerfile: 3.15kB                                                                      0.0s
 => [internal] load .dockerignore                                                                           0.0s
 => => transferring context: 300B                                                                           0.0s
 => [internal] load metadata for docker.io/arm32v7/httpd:2.4.33                                             4.1s
 => [internal] load metadata for docker.io/arm32v7/debian:8.11                                              5.1s
 => [internal] load metadata for docker.io/arm32v7/golang:1.10.0-stretch                                    3.6s
 => CACHED [aria2-builder 1/2] FROM docker.io/arm32v7/debian:8.11@sha256:6a0cf2ebc0f90c0a3aebfeba13e85e7e8  0.0s
 => => resolve docker.io/arm32v7/debian:8.11@sha256:6a0cf2ebc0f90c0a3aebfeba13e85e7e80e8bd974fe7b1aaf0f33a  0.0s
 => CANCELED [stage-2 1/7] FROM docker.io/arm32v7/httpd:2.4.33@sha256:16bc4710ad23743f92dc4f154e496087899  14.8s
 => => resolve docker.io/arm32v7/httpd:2.4.33@sha256:16bc4710ad23743f92dc4f154e49608789928c9298e5626728ce8  0.0s
 => => sha256:8374f267b8b10c66c44f851872b235f1f7b7b04c08905753d1beb5a78d579e35 8.13kB / 8.13kB              0.0s
 => => sha256:16bc4710ad23743f92dc4f154e49608789928c9298e5626728ce8315968b6407 1.78kB / 1.78kB              0.0s
 => [internal] load build context                                                                           0.0s
 => => transferring context: 906B                                                                           0.0s
 => CANCELED [go-builder 1/3] FROM docker.io/arm32v7/golang:1.10.0-stretch@sha256:7e4554b17f1b8da05062e16  14.8s
 => => resolve docker.io/arm32v7/golang:1.10.0-stretch@sha256:7e4554b17f1b8da05062e167d0f95630e6d56aab51e9  0.0s
 => => sha256:569ad906c2f0291321396c5a52318936cc6aa003a7e8462c9c614526ce64d738 5.44kB / 5.44kB              0.0s
 => => sha256:1296b637c2f207ccc536f8e55bad6857ee417d3b5ea4c82a92a8e8621a970f50 2.10MB / 41.86MB            15.0s
 => => sha256:0e2ab5e048ba56edebae7aceececc82f4b33c46e008d392e5fd1d5ad0da0959c 3.15MB / 9.82MB             15.0s
 => => sha256:e1a6513627dbe58bc1e5151968379017a6d2b320b2ec9b35f6fd1235aeeadb3c 3.91MB / 3.91MB              7.0s
 => => sha256:7e4554b17f1b8da05062e167d0f95630e6d56aab51e99b8c80360c2318af553a 1.79kB / 1.79kB              0.0s
 => => sha256:397cc0ade5ea7b2621b829913376f8c421662acb370154a3d29538c8e1598c90 10.49MB / 46.35MB           15.0s
 => ERROR [aria2-builder 2/2] RUN mkdir -p /builds && mkdir -p /builds/aria2c     && apt-get update     &  14.7s
------
 > [aria2-builder 2/2] RUN mkdir -p /builds && mkdir -p /builds/aria2c     && apt-get update     && export DEBIAN_FRONTEND=noninteractive     && apt-get install -y curl git     make g++ libssl-dev nettle-dev libgmp-dev libssh2-1-dev libc-ares-dev libxml2-dev zlib1g-dev libsqlite3-dev pkg-config libxml2-dev libcppunit-dev autoconf automake autotools-dev autopoint libtool openssl     && ARIA2_VERSION="1.34.0"     && mkdir aria_build && cd aria_build     && curl -L https://github.com/aria2/aria2/releases/download/release-"$ARIA2_VERSION"/aria2-"$ARIA2_VERSION".tar.gz > aria2.tar.gz     && tar -xzf aria2.tar.gz     && cd aria2-$ARIA2_VERSION     && autoreconf -i     && ./configure --with-ca-bundle='/etc/ssl/certs/ca-certificates.crt'     && make     && mv src/aria2c /builds/aria2c     && cd ../..     && rm -rf aria_build     && rm -rf /var/lib/apt/lists/*:
4.934 Ign http://security.debian.org jessie/updates InRelease
5.047 Ign http://security.debian.org jessie/updates Release.gpg
5.162 Ign http://security.debian.org jessie/updates Release
5.274 Ign http://deb.debian.org jessie InRelease
5.684 Ign http://deb.debian.org jessie-updates InRelease
6.075 Err http://security.debian.org jessie/updates/main armhf Packages
6.075
6.097 Ign http://deb.debian.org jessie Release.gpg
6.521 Ign http://deb.debian.org jessie-updates Release.gpg
6.982 Ign http://deb.debian.org jessie Release
7.467 Ign http://deb.debian.org jessie-updates Release
7.572 Err http://security.debian.org jessie/updates/main armhf Packages
7.572
7.930 Err http://security.debian.org jessie/updates/main armhf Packages
7.930
8.291 Err http://security.debian.org jessie/updates/main armhf Packages
8.291
8.893 Err http://security.debian.org jessie/updates/main armhf Packages
8.893   404  Not Found [IP: 151.101.66.132 80]
14.06 Err http://deb.debian.org jessie/main armhf Packages
14.06   404  Not Found
14.57 Err http://deb.debian.org jessie-updates/main armhf Packages
14.57   404  Not Found
14.58 W: Failed to fetch http://security.debian.org/debian-security/dists/jessie/updates/main/binary-armhf/Packages  404  Not Found [IP: 151.101.66.132 80]
14.58
14.58 W: Failed to fetch http://deb.debian.org/debian/dists/jessie/main/binary-armhf/Packages  404  Not Found
14.58
14.58 W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/main/binary-armhf/Packages  404  Not Found
14.58
14.58 E: Some index files failed to download. They have been ignored, or old ones used instead.
------
Dockerfile.arm32v7:5
--------------------
   4 |     # aria2 build
   5 | >>> RUN mkdir -p /builds && mkdir -p /builds/aria2c \
   6 | >>>     && apt-get update \
   7 | >>>     && export DEBIAN_FRONTEND=noninteractive \
   8 | >>>     && apt-get install -y curl git \
   9 | >>>     make g++ libssl-dev nettle-dev libgmp-dev libssh2-1-dev libc-ares-dev libxml2-dev zlib1g-dev libsqlite3-dev pkg-config libxml2-dev libcppunit-dev autoconf automake autotools-dev autopoint libtool openssl \
  10 | >>>     && ARIA2_VERSION="1.34.0" \
  11 | >>>     && mkdir aria_build && cd aria_build \
  12 | >>>     && curl -L https://github.com/aria2/aria2/releases/download/release-"$ARIA2_VERSION"/aria2-"$ARIA2_VERSION".tar.gz > aria2.tar.gz \
  13 | >>>     && tar -xzf aria2.tar.gz \
  14 | >>>     && cd aria2-$ARIA2_VERSION \
  15 | >>>     && autoreconf -i \
  16 | >>>     && ./configure --with-ca-bundle='/etc/ssl/certs/ca-certificates.crt' \
  17 | >>>     && make \
  18 | >>>     && mv src/aria2c /builds/aria2c \
  19 | >>>     && cd ../.. \
  20 | >>>     && rm -rf aria_build \
  21 | >>>     && rm -rf /var/lib/apt/lists/*
  22 |
--------------------
ERROR: failed to solve: process "/bin/sh -c mkdir -p /builds && mkdir -p /builds/aria2c     && apt-get update     && export DEBIAN_FRONTEND=noninteractive     && apt-get install -y curl git     make g++ libssl-dev nettle-dev libgmp-dev libssh2-1-dev libc-ares-dev libxml2-dev zlib1g-dev libsqlite3-dev pkg-config libxml2-dev libcppunit-dev autoconf automake autotools-dev autopoint libtool openssl     && ARIA2_VERSION=\"1.34.0\"     && mkdir aria_build && cd aria_build     && curl -L https://github.com/aria2/aria2/releases/download/release-\"$ARIA2_VERSION\"/aria2-\"$ARIA2_VERSION\".tar.gz > aria2.tar.gz     && tar -xzf aria2.tar.gz     && cd aria2-$ARIA2_VERSION     && autoreconf -i     && ./configure --with-ca-bundle='/etc/ssl/certs/ca-certificates.crt'     && make     && mv src/aria2c /builds/aria2c     && cd ../..     && rm -rf aria_build     && rm -rf /var/lib/apt/lists/*" did not complete successfully: exit code: 100
@theAkito
Copy link

Did you manage to fix this already?

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

2 participants