Mirror sync issue
There seems to be an issue with the mirror at 3.131.85.84
E: Failed to fetch https://openresty.org/package/debian/dists/bookworm/openresty/binary-amd64/Packages.gz File has unexpected size (32291 != 30881). Mirror sync in progress? [IP: 3.131.85.84 443]
Hashes of expected file:
- Filesize:30881 [weak]
- SHA512:40a04f11987bfaf0f00aa8bae1c8046f645bba26c21ef867cd27fc2f4b42d19b565276cc0088ce91ce9f626ecccca5453584640c6b43b42972a69b186aeb600b
- SHA256:93d67ff7d1872c09dae12f2bd7e1100a7bfca5e99468d9d5da3e1a02dbf610b1
- SHA1:e9e1486bcf635a4bdcab965dd8eecae9f8a5c347 [weak]
- MD5Sum:df79dd13936a71011cb613ba334ffaed [weak]
Release file created at: Thu, 17 Oct 2024 06:31:51 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
I encountered the same problem
I'm also encountering this, but if it helps, it seems to vary depending on where I'm connecting from and is maybe related to caching. The problematic responses all contain Cache-Status: UPDATING headers in the response. Here's a couple examples:
-
From an IP where
apt-get updateworks (note the recent cache control headers):curl -v 'https://openresty.org/package/debian/dists/bullseye/InRelease' [...] < HTTP/1.1 200 OK < Date: Wed, 05 Mar 2025 00:08:01 GMT < Content-Type: application/octet-stream < Connection: keep-alive < Set-Cookie: userid=00002b0000046bf0df089f49; Expires=Thu, 05-Mar-26 00:08:01 GMT; Max-Age=31536000; Domain=openresty.org < Last-Modified: Tue, 04 Mar 2025 05:43:18 GMT < ETag: "67c692f6-1318" < Expires: Tue, 04 Mar 2025 07:33:31 GMT < Cache-Control: max-age=60 < Server: OpenResty Edge < Req-ID: 00002b0000046bf0df089f49 < Cache-Status: HIT < Edge-Cache-Age: 46 < Accept-Ranges: bytes < Content-Length: 4888 -
From an IP where
apt-get updatebreaks (note the various different cache headers, theUPDATINGcache status, and the oldEdge-Cache-Agevalue):curl -v 'https://openresty.org/package/debian/dists/bullseye/InRelease' [...] < HTTP/1.1 200 OK < Date: Wed, 05 Mar 2025 00:09:49 GMT < Content-Type: application/octet-stream < Content-Length: 4888 < Connection: keep-alive < Set-Cookie: userid=0000288000046bf0e268b1df; Expires=Thu, 05-Mar-26 00:09:49 GMT; Max-Age=31536000; Domain=openresty.org < Last-Modified: Thu, 17 Oct 2024 06:31:10 GMT < ETag: "6710af2e-1318" < Expires: Thu, 17 Oct 2024 06:34:56 GMT < Cache-Control: max-age=60 < Server: OpenResty Edge < Req-ID: 0000288000046bf0e268b1df < Cache-Status: UPDATING < Edge-Cache-Age: 68902 < Accept-Ranges: bytes
Related: https://github.com/openresty/openresty/issues/1035
It seems it is resolved now