That seems to fail for me, wants to install 0.5-1.el7. I installed yum-plugin-nvidia-0.3-1.el7.noarch and yum update fails, along with yum install yum-plugin-nvidia-0.5
# yum install yum-plugin-nvidia-0.5
Loaded plugins: fastestmirror, nvidia, ovl
#### NVIDIA ####
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package yum-plugin-nvidia.noarch 0:0.3-1.el7 will be updated
---> Package yum-plugin-nvidia.noarch 0:0.5-1.el7 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
===============================================================================================================================================================================================================================================================================
Package Arch Version Repository Size
===============================================================================================================================================================================================================================================================================
Updating:
yum-plugin-nvidia noarch 0.5-1.el7 cuda 9.8 k
Transaction Summary
===============================================================================================================================================================================================================================================================================
Upgrade 1 Package
Total download size: 9.8 k
Is this ok [y/d/N]:y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
yum-plugin-nvidia-0.5-1.el7.no FAILED 0% [ ] 0.0 B/s | 0 B --:--:-- ETA
http://developer.download.nvidia.com/compute/cuda/repos/rhel7/x86_64/yum-plugin-nvidia-0.5-1.el7.noarch.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=cuda clean metadata ] 0.0 B/s | 0 B --:--:-- ETA
Trying other mirror.
Error downloading packages:
yum-plugin-nvidia-0.5-1.el7.noarch: [Errno 256] No more mirrors to try.
I just downloaded directly yum-plugin-nvidia-0.5-1.el7.noarch.rpm and installed it with ‘rpm -i’. Then I rerean ‘yum install cuda-drivers’ and it worked.
The error message suggests to clean the metadata, did you try that?
As I have the same issue with the same error message: I tried that, doesn’t help (not that I expected it to, since I already do a yum clean all beforehand).
I checked: The metadata in the repository isn’t right. When they updated the package, They updated the filename in the metadata, but not the the sha256sum. Since the sha256 sum of the downloaded file doesn’t match whats in the repository metadata, yum assumes you’ve downloaded a corrupt or malicious package and rejects it.
If there’s a checksum mismatch, that could indicate a failed supply chain attack too. I’d be careful installing something that doesn’t match signatures.
I thought the same, and it’s good advice so I haven’t taken any steps to force install until I hear back from Nvidia.
But I have done some more digging for data, and found that the sha256sum of the package in the repository does match older repo meta still available in /repodata. This suggests perhaps I got it backwards, maybe the repo meta got updated with a new sha256sum but the new package was never pushed.
I have ran into some minor discrepancies with how the curand library is being treated with a libcurand-11-0-10.2.0.191-1.x86_64.rpm… not sure why cuda 11 stuff is getting installed when I’m only using 10-2 rpms.
I ended up adding a yum install cuda-10-2-curand and seems like things are okay. I assume they removed a dependency that was installing it for me or it just behaves differently.