Re: File has unexpected size when using cdn-fastly.deb.debian.org [151.101.228.204] buster repository
Frederick Zhang <[email protected]> Mon, 21 Oct 2019 02:12:17 +1100
| Newsgroups | gmane.linux.debian.user.mirrors |
|---|---|
| Message-ID | <[email protected]> |
Thanks for the help and I think the issue has been fixed! My CI pipelines are again all green now. Cheers :) On 19/10/19 12:24 am, Julien Cristau wrote: > Hi Frederick, > > this should be resolved now. I got tripped by the fact that apt > %-encodes the + character in the URL, which curl doesn't, so the CDN > purge on Monday was ineffective. Do follow up if you're still seeing > issues. > > Cheers, > Julien > > On Fri, Oct 18, 2019 at 02:59:50PM +1100, Frederick Zhang wrote: >> Hi Julien, >> >> Thanks for the response. Please let me know once it's resolved as it's >> still affecting my CI pipelines. Thanks a ton. >> >> On 14/10/19 8:41 pm, Julien Cristau wrote: >>> On Tue, Oct 01, 2019 at 05:07:30PM +1000, Frederick Zhang wrote: >>>> Hi all, >>>> >>>> I'm currently experiencing some unexpected file size issues with the >>>> 151.101.228.204 node of cdn-fastly.deb.debian.org. I'd appreciate it if >>>> you guys can help me figure it out. >>>> >>>> The issue can be reproduced via the following command using the buster >>>> docker image: >>>> >>>> $ docker run --rm --tty --interactive --add-host >>>> 'cdn-fastly.deb.debian.org:151.101.228.204' debian:buster bash >>>> $ apt-get update >>>> $ apt-get -y install gdb >>>> E: Failed to fetch >>>> http://cdn-fastly.deb.debian.org/debian/pool/main/g/gdb/gdb_8.2.1-2+b1_amd64.deb >>>> File has unexpected size (3108672 != 3134284). Mirror sync in progress? >>>> [IP: 151.101.228.204 80] >>>> Hashes of expected file: >>>> - >>>> SHA256:8085c893f3b15a7802a47afb3f9cf819c223624d2bac894a8be5884eb8771ac1 >>>> - MD5Sum:27ac5ace5fed107805cd914bec5a8cd8 [weak] >>>> - Filesize:3134284 [weak] >>>> E: Unable to fetch some archives, maybe run apt-get update or try with >>>> --fix-missing? >>>> >>>> I tested the same command in two completely different network >>>> environments so I reckon it's not a network issue. But weirdly enough, >>>> if I pull the file using curl, the size and hash of the file look just >>>> fine. >>>> >>>> # still in the docker container, after installing curl >>>> $ curl -s >>>> http://cdn-fastly.deb.debian.org/debian/pool/main/g/gdb/gdb_8.2.1-2+b1_amd64.deb >>>> -o gdb_8.2.1-2+b1_amd64.deb >>>> $ sha256sum gdb_8.2.1-2+b1_amd64.deb >>>> 8085c893f3b15a7802a47afb3f9cf819c223624d2bac894a8be5884eb8771ac1 >>>> gdb_8.2.1-2+b1_amd64.deb >>>> $ du -b gdb_8.2.1-2+b1_amd64.deb >>>> 3134284 gdb_8.2.1-2+b1_amd64.deb >>>> >>>> Can someone shed some light on me? Thanks. >>>> >>> Hi, >>> >>> thanks for pointing this out. It looks like there was an error on our >>> part where we have two different versions of >>> pool/main/g/gdb/gdb_8.2.1-2+b1_amd64.deb: >>> >>> https://snapshot.debian.org/package/gdb/8.2.1-2/#gdb_8.2.1-2:2b:b1 >>> >>> One was built in July for Debian unstable, and the second one for buster >>> in August. Depending on which cache node you hit, it may have cached >>> the old version. >>> >>> We'll try to purge the old files from the CDN, and rebuild gdb for >>> buster to use a version that avoids the collision. >>> >>> Cheers, >>> Julien >>> >> >> -- >> Best Regards, >> Frederick Zhang >> >> Email: [email protected] >> > > > -- Best Regards, Frederick Zhang Email: [email protected]
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEm6Qj2EGoA6rHSaYEV8mE4F/3KqMFAl2seVIACgkQV8mE4F/3 KqNm2w/+NoT08aT9e2HFPldClBzywiYpF3lI4a56lY/8fdhX0ruiriTEj1ib0U09 wD/gIIndGh0/lHNLVDaJc6n0sQx9vjb3xdlV9WTmQDSb+qY+6lvLyKiAMFBobQM8 h8faNKDsqSnaMr8N4V4qy7g2gX+J6GTXbgwO0ENf3aewT1OFZp6Lduy4e8irw/At SNbrmRBmhbSMCASdfSQBv2Kz/UcEe7+aYc9HG/LQRnirdeSWr6BeSbZ7n4DDNhoh rbcTGnXhJUxZQkgMF/CLmjr/+p8w+0hWlnefHD/72OxTWvuK69FCmm3FAVSc8Ca2 A5sqKGRxj6sbto6Fxrw3+hPe5VT9kolEJMDn5+fwHtwzejZxHn6EgL/PU8KHjy0t ppQz0tRnY7J4a62uDB9G3+RlKfRMreRLjRv6nrS5eRC6lIsH56cd/9bHIRbs43Aq xJOc7VYnOxrnxWaov5SGuv3Xrk58m6S+DOxaAvxFnPv49+NDjsFF03uaVey8iNZZ yDIH/xzb8Yrk+FtKVhJJe6ldneV8Rsf6anUtqyatMNhIFKyBQQKgnOY9X6wN/G/4 J49ZFsn6G+2J52DTiUA6/WQwXSy9DnE5IwG3UHDDjEuTYIoYiyEiOiOvbdMH256W BiTvYBd6cMX0ZAJYcFd5xsifvpHrcHYRTrll+rrvk07G4l/NudA= =WTeZ -----END PGP SIGNATURE-----