DataFed
DataFed copied to clipboard
[Bug] Web Container building on outdated apt packages from dependency images
18.16 404 Not Found [IP: 151.101.194.132 80] 18.16 Get:73 http://deb.debian.org/debian bookworm/main amd64 make amd64 4.3-4.1 [396 kB] 18.27 Get:74 http://deb.debian.org/debian bookworm/main amd64 manpages-dev all 6.03-2 [2030 kB] 18.84 Get:43 http://deb.debian.org/debian bookworm/main amd64 libaom3 amd64 3.6.0-1+deb12u1 [1851 kB] 19.36 Get:52 http://deb.debian.org/debian bookworm/main amd64 libexpat1 amd64 2.5.0-1+deb12u1 [98.9 kB] 19.39 E: Failed to fetch http://deb.debian.org/debian/pool/main/g/glibc/libc-dev-bin_2.36-9%2bdeb12u10_amd64.deb 404 Not Found [IP: 151.101.194.132 80] 19.39 E: Failed to fetch http://deb.debian.org/debian-security/pool/updates/main/l/linux/linux-libc-dev_6.1.147-1_amd64.deb 404 Not Found [IP: 151.101.194.132 80] 19.39 E: Failed to fetch http://deb.debian.org/debian/pool/main/g/glibc/libc6-dev_2.36-9%2bdeb12u10_amd64.deb 404 Not Found [IP: 151.101.194.132 80] 19.39 E: Failed to fetch http://deb.debian.org/debian/pool/main/g/glibc/libc-devtools_2.36-9%2bdeb12u10_amd64.deb 404 Not Found [IP: 151.101.194.132 80] 19.39 E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? 19.39 Fetched 76.0 MB in 18s (4201 kB/s)
Dockerfile:79
77 | ENV DATAFED_DEFAULT_LOG_PATH="$DATAFED_INSTALL_PATH/logs" 78 | 79 | >>> RUN apt install -y make g++ 80 | 81 | WORKDIR ${DATAFED_DIR}
ERROR: failed to build: failed to solve: process "/bin/bash -c apt install -y make g++" did not complete successfully: exit code: 100
To Fix: Apt update before installing to properly update the current apt packages