Hi,
We get the same problem using ANSIBLE deployment.
Here is the part of the ANSIBLE script, the Add Nvidia CUDA APT Repository task being the one failing like @sjayewar .
- name: Download Nvidia CUDA PIN Priority File
get_url:
url: https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-ubuntu2004.pin
dest: /etc/apt/preferences.d/cuda-repository-pin-600
- name: Add Nvidia CUDA APT Public Key
apt_key:
url: https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/7fa2af80.pub
state: present
- name: Add Nvidia CUDA APT Repository
apt_repository:
repo: deb http://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/ /
state: present
- name: Install Nvidia CUDA Driver
apt:
name: cuda-drivers
state: latest
update_cache: yes
When looking at the Release file on the repo URL, the 751939d9... SHA256 hash is not present in the Package file. That might be the problem.
The odd is I tried with a fresh install Ubuntu 20.04 on a VM, and it didn’t had trouble getting the repo and packages. Maybe the apt configuration is different ?