Closed marziehphi closed 1 year ago
Thanks for fixing this and opening a PR :)
Exactly the same error was thrown again with the updated docker file. But I resolved it from Sanjaas Comment
RUN rm /etc/apt/sources.list.d/cuda.list
RUN rm /etc/apt/sources.list.d/nvidia-ml.list
RUN apt-key del 7fa2af80
RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub
RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/7fa2af80.pub
Sorry, I assumed NVIDIA/nvidia-docker#4 would have fixed this. Is that not the case?
I'm not sure if this is user specific. But, Yes it did throw the same GPG Key error. So I had to remove the source files 1st and fetch the keys again. Maybe this helps someone.
W: GPG error: https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A4B469963BF863CC
E: The repository 'https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 InRelease' is not signed.
Okay, thanks for pointing this out. I've updated the Dockerfile in commit ef6040e.
A GPG key error occurred when I tried to install things using Dockerfile.