RUN sh -c 'echo "APT { Get { AllowUnauthenticated \"1\"; }; };" > /etc/apt/apt.conf.d/99allow_unauth'
RUN apt -o Acquire::AllowInsecureRepositories=true -o Acquire::AllowDowngradeToInsecureRepositories=true update
RUN apt-get install -y curl wget
RUN apt-key del 7fa2af80
RUN wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-keyring_1.0-1_all.deb
RUN dpkg -i cuda-keyring_1.0-1_all.deb
RUN rm -f /etc/apt/sources.list.d/cuda.list /etc/apt/apt.conf.d/99allow_unauth cuda-keyring_1.0-1_all.deb
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A4B469963BF863CC F60F4B3D7FA2AF80
RUN apt-get update && apt-get upgrade -y
This solution works for me thanks
it looks like it worked for me.
here is the code
apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub
apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/7fa2af80.pub
add it before
apt-get update
Is there a mailing list we can subscribe to that would have announcements like this in it? I’m having trouble finding anything that exists (that is not tied to a single user account). Would love to ensure our team here gets notifications as early as possible.
This works fine for me
apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub
But this doesn’t work
apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/7fa2af80.pub
I need to use the machine-learning repo but the public key is invalid now.
The wget command for cuda-keyring (https://developer.download.nvidia.com/compute/cuda/repos/$distro/$arch/cuda-keyring_1.0-1_all.deb) is giving 404 not found error.
Are you sure that $distro/$arch is being replaced as indicated in the repo?
@akashsjhs I think @Dgromov is right, you need to replace $distro/$arch in your command line with the appropriate values for your system from the list in the original post.
–2022-05-05 17:54:48-- https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.0-1_all.deb
Resolving developer.download.nvidia.com (developer.download.nvidia.com)… 152.199.39.144
Connecting to developer.download.nvidia.com (developer.download.nvidia.com)|152.199.39.144|:443… connected.
HTTP request sent, awaiting response… 404 Not Found
2022-05-05 17:54:48 ERROR 404: Not Found.
is the site down?
in the above replace $distro/$arch section , why is there “ubuntu2004/x86_64” ?
@thaha1 I think you mean why is there “ubuntu2204/x86_64”? Good point, in our CUDA 11.7 release coming out next week we will support it and that repo will be live, but it’s not supported for 11.6 and earlier.
My copy/paste error got it onto the list a little bit early, apologies for that.
Hi @roarmstrong ,
Can you check on the Machine Learning repo as well. It’s key is also rotated but it don’t have new key on the repo
Hi @nguyenductin
We did not update the signing key (7fa2af80
) for the Machine Learning repositories. Please consider installing a newer version of cuDNN, NCCL, and/or TensorRT products, which are available in the CUDA repositories.
it seems to work for me.
thanks
hello @roarmstrong ,
I have the same issue running on Jetson AGX ORIN using this tutorial here from NVIDIA and I could not resolve the problem I tried a lot of threadds and topics here and on github nothing worked for me.
here is my log below
in my case:
- $distro == ubuntu2004
- $arch == sbsa
Thank you in advance,
Harry
I have started to get similar error again over the last two days but one associated with the hpc-sdk:
W: GPG error: https://developer.download.nvidia.com/hpc-sdk/ubuntu/amd64 InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY F338EA0E0105AB24
I have tried all the solutions prescribed here but nothing works. When I manually try and install the key: it gives me this error:
______@linux-machine:~$ sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/$distro/$arch/F338EA0E0105AB24.pub
Executing: /tmp/apt-key-gpghome.czHQoeeMFn/gpg.1.sh --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos///F338EA0E0105AB24.pub
gpg: requesting key from ‘https://developer.download.nvidia.com/compute/cuda/repos///F338EA0E0105AB24.pub’
gpg: WARNING: unable to fetch URI https://developer.download.nvidia.com/compute/cuda/repos///F338EA0E0105AB24.pub: No data
I don’t think this is an HPC SDK error but I will send you email and will try to work with you to find a solution. CUDA also does not appear to have a key named F338EA0E0105AB24.pub.