Score:0

Failed to fetch

vn flag

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
Pilot6 avatar
cn flag
This is some network problems. Something is blocking this sort of traffic.
Nmath avatar
ng flag
Edit your question with the full output of each `sudo apt update` and `sudo apt upgrade`. Provide the entire output copy/paste. Do not only give bits and pieces. Please use [code fences](https://askubuntu.com/editing-help#code) to format terminal output (not quotations). Do not manipulate the output at all, just add three backticks on the line before and three backticks on the line after each block.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.