According to
opened 08:05PM - 07 Nov 21 UTC
## Mega thread for reporting metdata issues with the CUDA repositories
Is the… CDN stale? Have you seen something like:
```shell
E: Failed to fetch *.deb Hash Sum mismatch
Hashes of expected file:
- SHA512:$sha512, SHA256:$sha256, SHA1:$sha1 [weak], MD5Sum:$md5 [weak], Filesize:$bytes [weak]
Hashes of received file:
- SHA512:$sha512, SHA256:$sha256, SHA1:$sha1 [weak], MD5Sum:$md5 [weak], Filesize:$bytes [weak]
Last modification reported: $(date -R --utc)
```
or
```shell
*.rpm: Downloading successful, but checksum doesn't match.
Calculated: $sha256(sha256)
Expected: $sha256(sha256)
```
### Please provide the following information in your comment:
1. The error message and the last command(s) run.
2. When was the `Release` (Debian) or `repomd.xml` (RPM) file last modified ?
```shell
$ curl -I https://developer.download.nvidia.com/compute/cuda/repos/$distro/$arch/Release
$ curl -I https://developer.download.nvidia.com/compute/cuda/repos/$distro/$arch/repodata/repomd.xml
```
3. The Linux distro and architecture. If cross-compiling or containerized, please mention that.
```shell
$ cat /etc/os-release
$ uname -a
```
4. Which NVIDIA repositories do you have enabled ?
Do your `.list` / `.repo` files contain URLs using HTTP (port 80) or HTTPS (port 443) ?
5. Which geographic region is the machine located in ?
6. Which CDN edge node are you hitting ?
7. Any other relevant environmental conditions (i.e. a specific Docker container image) ?
Hi @erikwijmans
We are in the process of rotating our GPG public keys, there will be an announcement on the NVIDIA Developer blog very soon. Currently this has rolled out only for our ubuntu1604/x86_64
and fedora32/x86_64
repos, the rest will follow in a bit.
The new GPG keys for the CUDA repository
Please remove the old 7fa2af80
key
Debian-based distros:
sudo apt-key del 7fa2af80
RPM-based distros:
sudo rpm --erase gpg-pubkey-7fa2af80*
And enroll the new signing key (a cuda-keyring
package is also provided)
sudo apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/3bf863cc.pub
RPM-based distros: please update .repo
with package manager specific instructions (see blog post)
3 Likes