{"type":"rich","version":"1.0","provider_name":"phorkie","provider_url":"https:\/\/p.cweiske.de\/","title":"docker build: apt error: 404 Not Found [IP: 1.2.3.4]","author_name":"Christian Weiske","cache_age":86400,"width":900,"height":900,"html":"<!-- embedding all files of https:\/\/p.cweiske.de\/993 -->\n<link rel=\"stylesheet\" href=\"https:\/\/p.cweiske.de\/css\/embed.css\"\/>\n<div class=\"phork\" id=\"993\">\n    <div class=\"phork-file\">\n <div class=\"phork-content\">\n  \n<div class=\"document\">\n\n\n<p>Solution: Clear the docker build cache:<\/p>\n<pre class=\"literal-block\">\n$ docker builder prune --all\n<\/pre>\n<\/div>\n\n <\/div>\n <div class=\"phork-meta\">\n  <a href=\"https:\/\/p.cweiske.de\/993\/rev-raw\/02b8b4c3b5ef8733bf4d64a7437af0be8870ace6\/README.rst\" style=\"float: right\">view raw source<\/a>\n  <a href=\"https:\/\/p.cweiske.de\/993#README.rst\">README.rst<\/a>\n <\/div>\n<\/div>\n    <div class=\"phork-file\">\n <div class=\"phork-content\">\n  <div class=\"code\"><pre class=\"txt\">$ docker build ...\r\n[...]\r\n =&gt; CACHED [5\/9] RUN apt update -y                                                                                                                                                                            0.0s\r\n =&gt; 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\r\n[...]\r\n7.300 Err:5 http:\/\/apt-mirror.example-server.de\/archive.ubuntu.com\/ubuntu resolute-updates\/main amd64 libexpat1 amd64 2.7.4-1ubuntu0.2\r\n7.300   404  Not Found [IP: 1.2.3.4 80]\r\n7.301 Err:13 http:\/\/apt-mirror.example-server.de\/archive.ubuntu.com\/ubuntu resolute-updates\/main amd64 tzdata all 2026e-0ubuntu0.26.04.1\r\n7.301   404  Not Found [IP: 1.2.3.4 80]\r\n7.302 Err:51 http:\/\/apt-mirror.example-server.de\/archive.ubuntu.com\/ubuntu resolute-updates\/main amd64 libtiff6 amd64 4.7.0-3ubuntu5\r\n7.302   404  Not Found [IP: 1.2.3.4 80]\r\n7.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\r\n7.302   404  Not Found [IP: 1.2.3.4 80]\r\n[...]\r\n7.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: 1.2.3.4 80]\r\n7.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: 1.2.3.4 80]\r\n7.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: 1.2.3.4 80]\r\n[...]<\/pre><\/div>\n\n <\/div>\n <div class=\"phork-meta\">\n  <a href=\"https:\/\/p.cweiske.de\/993\/rev-raw\/02b8b4c3b5ef8733bf4d64a7437af0be8870ace6\/output.txt\" style=\"float: right\">view raw source<\/a>\n  <a href=\"https:\/\/p.cweiske.de\/993#output.txt\">output.txt<\/a>\n <\/div>\n<\/div>\n<\/div>\n"}
