chrbo opened a new issue, #9594:
URL: https://github.com/apache/apisix/issues/9594

   ### Current Behavior
   
   Try to install the apisix from https://repos.apiseven.com.
   
   I followed the instructions in the 
[dockerfile](https://github.com/apache/apisix-docker/blob/release/apisix-3.3.0/debian/Dockerfile).
   
   The apt update command in [line 
40](https://github.com/apache/apisix-docker/blob/0e0ddec788c55fcc67492f7cfcf351064805dc87/debian/Dockerfile#L40)
 stops with the rror message that the Packages.gz does not have the expected 
filesize.
   
   `root@7ac202c38748:/# apt update
   Hit:1 http://deb.debian.org/debian bullseye InRelease
   Hit:2 http://deb.debian.org/debian-security bullseye-security InRelease
   Hit:3 http://deb.debian.org/debian bullseye-updates InRelease                
            
   Hit:4 https://openresty.org/package/debian bullseye InRelease                
            
   Get:5 https://repos.apiseven.com/packages/debian bullseye InRelease [2202 B]
   Get:6 https://repos.apiseven.com/packages/debian bullseye/main amd64 
Packages [5139 B]
   Err:6 https://repos.apiseven.com/packages/debian bullseye/main amd64 Packages
     File has unexpected size (4944 != 5139). Mirror sync in progress? [IP: 
3.126.195.33 443]
     Hashes of expected file:
      - Filesize:5139 [weak]
      - 
SHA512:26dae43ca77838c926c8a150c50317353f7b3499afa746c9693a7691bb15b0bb8edeb57cc4b05e0c9356fd797d73682c25a4a44d0b5ea506a25595558ca51ca6
      - SHA256:91201fabaa496146026b014eb09054fb9c085fe0e18a4534ed7cedc1d40f0707
      - SHA1:a10c694162cba630f2993a693bd9e2ad365b15f5 [weak]
      - MD5Sum:7cbc5dddc55649b8b0d92c84c5e53652 [weak]
     Release file created at: Fri, 02 Jun 2023 05:33:04 +0000
   Fetched 2202 B in 4s (602 B/s)
   Reading package lists... Done
   E: Failed to fetch 
https://repos.apiseven.com/packages/debian/dists/bullseye/main/binary-amd64/Packages.gz
  File has unexpected size (4944 != 5139). Mirror sync in progress? [IP: 
3.126.195.33 443]
      Hashes of expected file:
       - Filesize:5139 [weak]
       - 
SHA512:26dae43ca77838c926c8a150c50317353f7b3499afa746c9693a7691bb15b0bb8edeb57cc4b05e0c9356fd797d73682c25a4a44d0b5ea506a25595558ca51ca6
       - SHA256:91201fabaa496146026b014eb09054fb9c085fe0e18a4534ed7cedc1d40f0707
       - SHA1:a10c694162cba630f2993a693bd9e2ad365b15f5 [weak]
       - MD5Sum:7cbc5dddc55649b8b0d92c84c5e53652 [weak]
      Release file created at: Fri, 02 Jun 2023 05:33:04 +0000
   E: Some index files failed to download. They have been ignored, or old ones 
used instead.
   `
   The repo seems to be updated this morning but that was about 6 hours ago. 
May the filesize be wrong?
   
   Thanks
   
   ### Expected Behavior
   
   The Packages.gz filesize should be as expected and apisix can be installed
   
   ### Error Logs
   
   Get:6 https://repos.apiseven.com/packages/debian bullseye/main amd64 
Packages [5139 B]
   Err:6 https://repos.apiseven.com/packages/debian bullseye/main amd64 Packages
     File has unexpected size (4944 != 5139). Mirror sync in progress? [IP: 
3.126.195.33 443]
     Hashes of expected file:
      - Filesize:5139 [weak]
      - 
SHA512:26dae43ca77838c926c8a150c50317353f7b3499afa746c9693a7691bb15b0bb8edeb57cc4b05e0c9356fd797d73682c25a4a44d0b5ea506a25595558ca51ca6
      - SHA256:91201fabaa496146026b014eb09054fb9c085fe0e18a4534ed7cedc1d40f0707
      - SHA1:a10c694162cba630f2993a693bd9e2ad365b15f5 [weak]
      - MD5Sum:7cbc5dddc55649b8b0d92c84c5e53652 [weak]
     Release file created at: Fri, 02 Jun 2023 05:33:04 +0000
   Get:7 https://openresty.org/package/debian bullseye/openresty amd64 Packages 
[21.3 kB]
   Fetched 28.4 kB in 1s (34.3 kB/s)
   Reading package lists...
   E: Failed to fetch 
https://repos.apiseven.com/packages/debian/dists/bullseye/main/binary-amd64/Packages.gz
  File has unexpected size (4944 != 5139). Mirror sync in progress? [IP: 
3.126.195.33 443]
      Hashes of expected file:
       - Filesize:5139 [weak]
       - 
SHA512:26dae43ca77838c926c8a150c50317353f7b3499afa746c9693a7691bb15b0bb8edeb57cc4b05e0c9356fd797d73682c25a4a44d0b5ea506a25595558ca51ca6
       - SHA256:91201fabaa496146026b014eb09054fb9c085fe0e18a4534ed7cedc1d40f0707
       - SHA1:a10c694162cba630f2993a693bd9e2ad365b15f5 [weak]
       - MD5Sum:7cbc5dddc55649b8b0d92c84c5e53652 [weak]
      Release file created at: Fri, 02 Jun 2023 05:33:04 +0000
   E: Some index files failed to download. They have been ignored, or old ones 
used instead.
   
   
   ### Steps to Reproduce
   
   1. docker run --rm -ti debian:bullseye-slim bash
   3. apt update
   4. apt-get -y install --no-install-recommends wget
   5. echo "deb https://repos.apiseven.com/packages/debian $codename main" | 
tee /etc/apt/sources.list.d/apisix.list
   6. apt update
   
   ### Environment
   
   - 3.3.0
   - Linux 7ac202c38748 5.15.0-72-generic #79~20.04.1-Ubuntu SMP Thu Apr 20 
22:12:07 UTC 2023 x86_64 GNU/Linux
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to