On 7/23/19 3:33 PM, Peter Maydell wrote: > On Tue, 23 Jul 2019 at 12:46, Alex Bennée <alex.ben...@linaro.org> wrote: >> Odd. Does: >> >> make docker-image-debian10 V=1 >> >> fail for you? > > Yes. The files apt tries to download do not appear to be > on the mirror: > e104462:bionic:all-linux-static$ make docker-image-debian10 V=1 > /home/petmay01/linaro/qemu-for-merges/tests/docker/docker.py build > qemu:debian10 > /home/petmay01/linaro/qemu-for-merges/tests/docker/dockerfiles/debian10.docker > --add-current-user > Sending build context to Docker daemon 3.072kB > Step 1/7 : FROM debian:buster-slim > ---> 7e86f6dc8410 > Step 2/7 : RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> > /etc/apt/sources.list > ---> Using cache > ---> a16e81a24df9 > Step 3/7 : RUN apt update > ---> Using cache > ---> 272778d384a0 > Step 4/7 : RUN DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata > ---> Using cache > ---> 0113e60b5abe > Step 5/7 : RUN DEBIAN_FRONTEND=noninteractive eatmydata apt > install -y --no-install-recommends bison > build-essential ca-certificates clang flex > gettext git pkg-config psmisc > python python3-sphinx texinfo $(apt-get -s > build-dep qemu | egrep ^Inst | fgrep '[all]' | cut -d\ -f2) > ---> Running in 9f66f5f38684 > > WARNING: apt does not have a stable CLI interface. Use with caution in > scripts. > [...] > After this operation, 791 MB of additional disk space will be used. > Err:1 http://cdn-fastly.deb.debian.org/debian buster/main amd64 > perl-base amd64 5.28.1-4 > 404 Not Found [IP: 151.101.16.204 80] > Err:2 http://cdn-fastly.deb.debian.org/debian buster/main amd64 > libsystemd0 amd64 240-5 > 404 Not Found [IP: 151.101.16.204 80] > Err:3 http://cdn-fastly.deb.debian.org/debian buster/main amd64 > gcc-8-base amd64 8.2.0-16 > 404 Not Found [IP: 151.101.16.204 80] > Err:4 http://cdn-fastly.deb.debian.org/debian buster/main amd64 > libgcc1 amd64 1:8.2.0-16 > 404 Not Found [IP: 151.101.16.204 80] > Err:5 http://cdn-fastly.deb.debian.org/debian buster/main amd64 > libstdc++6 amd64 8.2.0-16 > 404 Not Found [IP: 151.101.16.204 80] > Err:6 http://cdn-fastly.deb.debian.org/debian buster/main amd64 libc6 > amd64 2.28-6 > 404 Not Found [IP: 151.101.16.204 80] > > though some are present, eg > > Get:210 http://cdn-fastly.deb.debian.org/debian buster/main amd64 > libatk1.0-data all 2.30.0-2 [145 kB] > >> Can you retry with: >> >> make docker-image-debian10 V=1 NOCACHE=1 > > Yes, this works. It looks like docker is caching the > result of the "apt update" state, when it really needs > to rerun this every time because the state on the servers > may have changed.
Yeah, I fixed Ubuntu here: https://git.qemu.org/?p=qemu.git;a=commitdiff;h=beac6a98f6eb271f2520a329ca051313afd70a69 But failed to explain this reason while trying to fix Debian: https://lists.gnu.org/archive/html/qemu-devel/2017-05/msg02081.html