Docker Debian apt Error Reading from Server -


it seem apt-get having issues connecting repository servers. suppose compatibility issues, mentioned here, proposed solution of apt-get clean not work me. surprised, if case, there not more people having issue.

mwe

dockerfile

from debian:jessie run apt-get clean && apt-get update && apt-get install -y --no-install-recommends \     git 
$ docker build . docker build . sending build context docker daemon 2.048 kb step 0 : debian:jessie ---> 4a5e6db8c069 step 1 : run apt-get clean && apt-get update && apt-get install -y --no-install-recommends     git ---> running in 43b93e93feab get:1 http://security.debian.org jessie/updates inrelease [63.1 kb] ... omitted ... get:6 http://httpredir.debian.org jessie-updates/main amd64 packages [3614 b] fetched 9552 kb in 7s (1346 kb/s) reading package lists... reading package lists... building dependency tree... reading state information... following packages installed: ... omitted ... 0 upgraded, 26 newly installed, 0 remove , 0 not upgraded. need 13.2 mb of archives. after operation, 64.0 mb of additional disk space used. get:1 http://security.debian.org/ jessie/updates/main libgnutls-deb0-28 amd64 3.3.8-6+deb8u2 [694 kb] ... omitted ... get:5 http://httpredir.debian.org/debian/ jessie/main libnettle4 amd64 2.7.1-5 [176 kb] err http://httpredir.debian.org/debian/ jessie/main libffi6 amd64 3.1-2+b2   error reading server. remote end closed connection [ip: 176.9.184.93 80] ... omitted ... get:25 http://httpredir.debian.org/debian/ jessie/main git amd64 1:2.1.4-2.1 [3624 kb] fetched 13.2 mb in 10s (1307 kb/s) e: failed fetch http://httpredir.debian.org/debian/pool/main/libf/libffi/libffi6_3.1-2+b2_amd64.deb  error reading server. remote end closed connection [ip: 176.9.184.93 80]  e: unable fetch archives, maybe run apt-get update or try --fix-missing? command '/bin/sh -c apt-get clean && apt-get update && apt-get install -y --no-install-recommends     git' returned non-zero code: 100 

please note posted here different issue. believe unrelated, may be.

the httpredir.debian.org mirror "magic" in load-balance , geo-ip transparent increase performance , availability. therefore suspect of causing problem, or @ least first thing rule out.

i check if could:

  • still reproduce problem; httpredir.debian.org throw out "bad" mirrors internal lists issue may have been temporary.

  • reproduce problem different, non-httpredir.debian.org mirror. try ftp.de.debian.org. if works mirror, please contact httpredir.debian.org maintainer , report issue them. quite responsive , open bug reports.


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -