docker build: apt error: 404 Not Found [IP: 1.2.3.4]

revision 1ee7933c2b6d0f1cc4c73bb19f21ca86b08ea722

raw

README.rst

Solution: Clear the docker build cache:

$ docker builder prune --all
raw

output.txt

$ docker build ...
[...]
 => CACHED [5/9] RUN apt update -y                                                                                                                                                                            0.0s
 => ERROR [6/9] RUN apt install -yq --no-install-recommends    ca-certificates    cargo    composer    curl    git    golang    python3    jq    libxml2-utils    make    nodejs    php-cli    php-bcmath     7.4s
[...]
7.300 Err:5 http://apt-mirror.example-server.de/archive.ubuntu.com/ubuntu resolute-updates/main amd64 libexpat1 amd64 2.7.4-1ubuntu0.2
7.300   404  Not Found [IP: 91.99.95.16 80]
7.301 Err:13 http://apt-mirror.example-server.de/archive.ubuntu.com/ubuntu resolute-updates/main amd64 tzdata all 2026e-0ubuntu0.26.04.1
7.301   404  Not Found [IP: 91.99.95.16 80]
7.302 Err:51 http://apt-mirror.example-server.de/archive.ubuntu.com/ubuntu resolute-updates/main amd64 libtiff6 amd64 4.7.0-3ubuntu5
7.302   404  Not Found [IP: 91.99.95.16 80]
7.302 Err:69 http://apt-mirror.example-server.de/archive.ubuntu.com/ubuntu resolute-updates/main amd64 php8.5-common amd64 8.5.4-0ubuntu1.5
7.302   404  Not Found [IP: 91.99.95.16 80]
[...]
7.333 Error: Failed to fetch http://apt-mirror.example-server.de/archive.ubuntu.com/ubuntu/pool/main/e/expat/libexpat1_2.7.4-1ubuntu0.2_amd64.deb  404  Not Found [IP: 91.99.95.16 80]
7.333 Error: Failed to fetch http://apt-mirror.example-server.de/archive.ubuntu.com/ubuntu/pool/main/t/tzdata/tzdata_2026e-0ubuntu0.26.04.1_all.deb  404  Not Found [IP: 91.99.95.16 80]
7.333 Error: Failed to fetch http://apt-mirror.example-server.de/archive.ubuntu.com/ubuntu/pool/main/t/tiff/libtiff6_4.7.0-3ubuntu5_amd64.deb  404  Not Found [IP: 91.99.95.16 80]
[...]

History