rgeissert / http-redirector

Debian mirrors HTTP redirector
http://httpredir.debian.org/
88 stars 8 forks source link

Failed to fetch libx11-xcb #74

Open szechyjs opened 8 years ago

szechyjs commented 8 years ago

I've been getting these same errors on and off all day today...

E: Failed to fetch http://httpredir.debian.org/debian/pool/main/libx/libx11/libx11-xcb1_1.6.2-3_amd64.deb  Error reading from server. Remote end closed connection [IP: 5.153.231.35 80]
E: Failed to fetch http://httpredir.debian.org/debian/pool/main/libx/libx11/libx11-xcb1_1.6.2-3_amd64.deb  Error reading from server. Remote end closed connection [IP: 128.31.0.66 80]

It's always the same package, the other 200 packages that I'm trying to install work just fine.

Using debian:jessie in docker.

szechyjs commented 8 years ago

I'm now getting it for a variety of packages.

cammm commented 8 years ago

Also seeing this quite frequently running apt-get inside of the debian:jessie docker container. Have tried clean & update and that does not resolve it.

JannKleen commented 8 years ago

Same here, happens on our CircleCI docker builds every day

superacidjax commented 8 years ago
# Insert this line before "RUN apt-get update" to dynamically
# replace httpredir.debian.org with a single working domain
# in attempt to "prevent" the "Error reading from server" error.
RUN sed -i "s/httpredir.debian.org/`curl -s -D - http://httpredir.debian.org/demo/debian/ | awk '/^Link:/ { print $2 }' | sed -e 's@<http://\(.*\)/debian/>;@\1@g'`/" /etc/apt/sources.list