File has unexpected size when using cdn-fastly.deb.debian.org [151.101.228.204] buster repository
Frederick Zhang <[email protected]> Tue, 1 Oct 2019 17:07:30 +1000
| Newsgroups | gmane.linux.debian.user.mirrors |
|---|---|
| Message-ID | <[email protected]> |
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.
--
Best Regards,
Frederick Zhang
Email: [email protected]
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEm6Qj2EGoA6rHSaYEV8mE4F/3KqMFAl2S+zMACgkQV8mE4F/3 KqO9/Q/8D1SiJR10vjM+ibCT/gsIqB8x/ddj7BDOkWdzBIpA480MZtJjF6Z1pEj3 HwOO5CL92HX+TPzTg/D3lYd6y5dh3/iYeQVII9rEuxmuW44SP7RpfOPS0toU5kiQ ZmJkG3ouFP7PVlMzuKFQrG1jvsYuikhpVCbonL6+4hOU1zX+Zu8wetgZbiUUHzlG jfM2c0sioQwlf+Llf0rdQxiGpBS4Cc0lqsng661pLiEM8zNG2dSHe/qRnzjQ9u8d wWnuUIiYfwtMrPKqcDdiVaJqg5xA0Siw77H1GwpfaLdXTF8s/pDGb53oNq+ekaxR P7BPatdEfu5p+k53f49/pIomcF4JJ6PbXy3jsI9E8qrMzUgkmsrqFcaFHRGZQ8XD jqyD3/+1kBezHJW6o5nFZ++wln9JbIRJVRpCdPJdh/e3EEedtvcc29xPZ+GBRCP3 /VfpyqHcLZHT7Xf8Rhu2+qPbConwHE61u0OI2d5iT6KVwJ9pPkVTs8bWDBy6parN GGK7cvYvu+JOqUpZDF5xPVFwF0hGq54XWx0Cxnvqox5nF/ZHvmp5/5Y7Oa8zj4Hp JFxIB5Etn9EXRyyGc3pEgtkzgJZyB0+xvCcIBACM4ThGLlE50exiMZk0KOKl3n1t IvxY2G3p/X9+OjqD2CKcEEda0v5unzSddCtgVGZMQ3se2LlFh6Q= =B+Qf -----END PGP SIGNATURE-----