CUDA Packages file for ubuntu20.04 (08/17 UPDATE) has unexpected file size

#7 9.085 E: Failed to fetch https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/Packages.gz File has unexpected size (1127072 != 1126689). Mirror sync in progress? [IP: 152.199.39.144 443]
#7 9.085 Hashes of expected file:
#7 9.085 - Filesize:1126689 [weak]
#7 9.085 - SHA256:7cee2584ca6d97b2f07018ba4f9c3c473fb4e299ed170968a1f8c99c090cc59f
#7 9.085 - SHA1:4ee24fac5518a3fcc3702590a0dab32c95484c54 [weak]
#7 9.085 - MD5Sum:593faff511765d11055c9919bf2e3bf8 [weak]
#7 9.085 Release file created at: Thu, 17 Aug 2023 19:03:05 +0000
#7 9.085 E: Some index files failed to download. They have been ignored, or old ones used instead.

In release file, it says file size is 1126689 , but upon downloading locally it has 1127072.

InRelease file : ( Index of /compute/cuda/repos/ubuntu2004/x86_64 (nvidia.com)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Origin: NVIDIA
Label: NVIDIA CUDA
Architecture: x86_64
Date: Thu, 17 Aug 2023 19:03:05 +0000
MD5Sum:
d58e9de402bbc21d40cd550fad5d9fac 5540573 Packages
593faff511765d11055c9919bf2e3bf8 1126689 Packages.gz
SHA1:
cb11ed21fae2338cd93d1a3e149f9eed7080d5e7 5540573 Packages
4ee24fac5518a3fcc3702590a0dab32c95484c54 1126689 Packages.gz
SHA256:
567da6aeef4d3b672891319d5913e35edeecd648bef04fcf9beaaa270d21c51e 5540573 Packages
7cee2584ca6d97b2f07018ba4f9c3c473fb4e299ed170968a1f8c99c090cc59f 1126689 Packages.gz

+1, having this same issue.

E: Failed to fetch https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/Packages.gz File has unexpected size (1127072 != 1126689). Mirror sync in progress? [IP: 152.195.19.142 443]

I am also having the same issue while building custom Docker image with “nvidia/cuda:11.8.0-cudnn8-devel-ubuntu20.04”:

Err:6 Index of /compute/cuda/repos/ubuntu2004/x86_64 Packages
File has unexpected size (1127072 != 1126689). Mirror sync in progress? [IP: 152.199.20.126 443]
Hashes of expected file:

  • Filesize:1126689 [weak]
    -SHA256:7cee2584ca6d97b2f07018ba4f9c3c473fb4e299ed170968a1f8c99c090cc59f
  • SHA1:4ee24fac5518a3fcc3702590a0dab32c95484c54 [weak]
  • MD5Sum:593faff511765d11055c9919bf2e3bf8 [weak]
    Release file created at: Thu, 17 Aug 2023 19:03:05 +0000

Removing the cuda list from the apt sources should do the trick. See my response on this thread.

The metadata mismatch issue is now resolved.
See thread Unable to add apt repo - Mirror sync in progress

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.