Failed to fetch https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/sbsa/Packages.gz
Closed this issue · 2 comments
NvTimLiu commented
Reporting metadata issues with the CUDA repositories
On ubuntu20.04 ARM arch host, after running a apt-get update
I get the error message:
root@44b9360bf34b:/# apt update
Get:1 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/sbsa InRelease [1579 B]
Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease
Get:3 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/sbsa Packages [845 kB]
Err:3 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/sbsa Packages
File has unexpected size (844033 != 845178). Mirror sync in progress? [IP: 152.195.19.142 443]
Hashes of expected file:
Filesize:845178 [weak]
SHA256:fe759d93d14c12c9dec632ce6e96d2185542c3067280039887ebdb80b55e0cfd
SHA1:62371733f3a41fe641a7e4718e38fa2c17acc88f [weak]
MD5Sum:0827c21254d207977202bba3eabe6a75 [weak]
Release file created at: Fri, 09 Feb 2024 00:02:51 +0000
Hit:4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:5 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:6 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Fetched 1579 B in 0s (3329 B/s)
Reading package lists... Done
W: https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/sbsa/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
E: Failed to fetch https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/sbsa/Packages.gz File has unexpected size (844033 != 845178). Mirror sync in progress? [IP: 152.195.19.142 443]
Hashes of expected file:
Filesize:845178 [weak]
SHA256:fe759d93d14c12c9dec632ce6e96d2185542c3067280039887ebdb80b55e0cfd
SHA1:62371733f3a41fe641a7e4718e38fa2c17acc88f [weak]
MD5Sum:0827c21254d207977202bba3eabe6a75 [weak]
Release file created at: Fri, 09 Feb 2024 00:02:51 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
kmittman commented
Hi @NvTimLiu sorry I was OOTO.
There were multiple product releases last week and this has now been resolved.
curl -Is https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/sbsa/InRelease | grep modified
last-modified: Fri, 09 Feb 2024 00:20:27 GMT
podman run -it arm64v8/ubuntu:20.04 /bin/bash -c "apt-get update >/dev/null; apt-get install -y sudo wget gnupg ca-certificates >/dev/null; wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/sbsa/cuda-keyring_1.1-1_all.deb; dpkg -i cuda-keyring*.deb; apt-get update; bash"
kssalanio commented
Hi, this seems issue seems to have happened again.
$ sudo apt clean && sudo apt update
...
Get:5 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64 InRelease [1,581 B]
Get:6 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64 Packages [1,514 kB]
Err:6 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64 Packages
File has unexpected size (1503986 != 1514203). Mirror sync in progress? [IP: 152.199.39.144 443]
Hashes of expected file:
- Filesize:1514203 [weak]
- SHA256:9e54bfbe25969feb55ca5f7cdb046d27999030c387acda3158365b49fa371e7b
- SHA1:0d1c35de22a2d6a23a53b6182e70ace9969c9f82 [weak]
- MD5Sum:42dc1149fac03f4507db422a01092a9e [weak]
Release file created at: Wed, 24 Apr 2024 19:07:40 +0000