Hi, jg@wn.de <jg@wn.de> (2017-07-07): > ftp.de.debian.org > ============= > 1499424363.414 42 195.66.76.23 TCP_MISS/404 615 GET http://ftp.de.debian.org/debian/dists/stretch/InRelease - HIER_DIRECT/141.76.2.4 text/html > 1499424363.501 58 195.66.76.23 TCP_REFRESH_UNMODIFIED/200 113783 GET http://ftp.de.debian.org/debian/dists/stretch/Release - HIER_DIRECT/141.76.2.4 - This one looks good. > 1499424363.588 52 195.66.76.23 TCP_REFRESH_UNMODIFIED/200 3462 GET http://ftp.de.debian.org/debian/dists/stretch/Release.gpg - HIER_DIRECT/141.76.2.4 - > 1499424364.019 153 195.66.76.23 TCP_REFRESH_UNMODIFIED/200 7094856 GET http://ftp.de.debian.org/debian/dists/stretch/main/binary-amd64/Packages.xz - HIER_DIRECT/141.76.2.4 application/x-xz > 1499424367.867 0 195.66.76.23 TCP_MEM_HIT/200 28613 GET http://ftp.de.debian.org/debian/pool/main/a/acl/libacl1_2.2.52-3+b1_amd64.deb - HIER_NONE/- application/x-debian-package > > > snapshot.debian.org > =================== > 1499423482.111 6781 195.66.76.23 TCP_MISS/404 2589 GET http://snapshot.debian.org/archive/debian/20170618T160104Z/dists/stretch/InRelease - HIER_DIRECT/193.62.202.30 text/html > 1499423482.143 4 195.66.76.23 TCP_MEM_HIT/200 114207 GET http://snapshot.debian.org/archive/debian/20170618T160104Z/dists/stretch/, - HIER_NONE/- application/octet-stream That URL looks broken, with a trailing comma instead of the “Release” filename. Not sure if d-i is getting the right file (after all, you're not getting a GPG validation issue), but it seems proxying triggers something bad. > 1499423482.175 0 195.66.76.23 TCP_MEM_HIT/200 3887 GET http://snapshot.debian.org/archive/debian/20170618T160104Z/dists/stretch/Release.gpg - HIER_NONE/- application/octet-stream > 1499423482.638 192 195.66.76.23 TCP_MEM_HIT/200 7095214 GET http://snapshot.debian.org/archive/debian/20170618T160104Z/dists/stretch/main/binary-amd64/Packages.xz - HIER_NONE/- application/octet-stream > 1499423483.733 1038 195.66.76.23 TCP_MEM_HIT/200 9497612 GET http://snapshot.debian.org/archive/debian/20170618T160104Z/dists/stretch/main/binary-amd64/Packages.gz - HIER_NONE/- application/octet-stream > 1499423489.524 5744 195.66.76.23 TCP_MISS/404 2589 GET http://snapshot.debian.org/archive/debian/20170618T160104Z/dists/stretch/main/binary-amd64/Packages - HIER_DIRECT/193.62.202.30 text/html > > > > snapshot.debian.org is sometimes slow to respond, or can even return an > > error (until the backend gets kicked). Can you reproduce the issue every > > time? If so, can you wireshark it, just to be sure? > > > Yes, I can reproduce the issue every time. > > > To debar squid-deb-proxy from being the cause of the problem I disabled the "d-i mirror/http/proxy string ..." preseed setting and now it works ! > I tried several times without http proxy and each time it succeeded to install from snapshot.debian.org. > > So it looks like squid-deb-proxy is the problem and not Debootstrap ! > > The strange thing is that squid-deb-proxy works just fine with ftp.de.debian.org but it fails with snapshot.debian.org for stretch (but it used to work with jessie). > I believe that something goes wrong with squid while or just after downloading http://snapshot.debian.org/archive/debian/20170618T160104Z/dists/stretch/main/binary-amd64/Packages.gz I think the issue started before that, see above. It might make sense to double check what happens between your system being installed and the proxy, to see whether the requests are badly sent from d-i, and/or misinterpreted by squid? KiBi.
Attachment:
signature.asc
Description: Digital signature