Everything was working fine for many months. apt-get upate
has recently stopped working. I am using this docker file that uses Ubuntu 18.04.4 LTS / bionic
FROM azul/zulu-openjdk:8u252
RUN lsb_release -a
RUN apt-get update --fix-missing
Recently when it runs apt-get update --fix-missing
it fails. The directory exists with compressed files. The directory http://security.ubuntu.com/ubuntu/dists/bionic-security/universe/binary-amd64/ does not contain the uncompressed file Packages
.
Sample error output
#5 60.81 Reading package lists...
#5 60.83 E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/bionic-security/universe/binary-amd64/Packages
403 MCPMediaTypeBlocked [IP: 91.189.91.38 80]
#5 60.83 E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic/universe/binary-amd64/Packages
403 MCPMediaTypeBlocked [IP: 91.189.88.142 80]
#5 60.83 E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-updates/multiverse/binary-amd64/Packages
403 MCPMediaTypeBlocked [IP: 91.189.88.142 80]
#5 60.83 E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-backports/main/binary-amd64/Packages
403 MCPMediaTypeBlocked [IP: 91.189.88.142 80]
#5 60.83 E: Some index files failed to download. They have been ignored, or old ones used instead.
#5 ERROR: executor failed running [/bin/sh -c apt-get update --fix-missing]: exit code: 100