Failed to fetch: https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/Packages.gz

Hi,

Per this guide reaching out that the debian package seems to be broken.

+ sudo apt update -qq
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?
   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

We are having this issue for about last 3 hours.
In terms of long-term fixes, since this is a third time it happened to us in last 2 years, I was wondering if anyone has good way of ignoring this specific file size related issues for “https://developer.download.nvidia.com/compute/cuda/repos/ubuntuXXXX/x86_64/Packages.gz” in apt update commands?

2 Likes

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

Best to file issue on GitHub E: Failed to fetch https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/Packages.gz · Issue #10 · NVIDIA/cuda-repo-management · GitHub

Thanks for the quick fix! Sorry for filing the issue on the wrong forum, I will use github issues if there are problems in future!

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