rd-blender-docker icon indicating copy to clipboard operation
rd-blender-docker copied to clipboard

apt update failed, because of "CUDA Linux Repository Key Rotation"

Open DIYer22 opened this issue 2 years ago • 2 comments

# apt update
W: GPG error: https://developer.download.nvidia.cn/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 no longer signed.
The command '/bin/sh -c apt-get update' returned a non-zero code: 100

Refrence: https://forums.developer.nvidia.com/t/notice-cuda-linux-repository-key-rotation/212772 https://github.com/NVIDIA/nvidia-container-toolkit/issues/258

DIYer22 avatar May 01 '22 14:05 DIYer22

RUN rm /etc/apt/sources.list.d/cuda.list
RUN rm /etc/apt/sources.list.d/nvidia-ml.list
RUN apt-key del 7fa2af80 \
    && wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-keyring_1.0-1_all.deb \
    && dpkg -i cuda-keyring_1.0-1_all.deb 
RUN apt-get update

fix the issue

DIYer22 avatar May 01 '22 15:05 DIYer22

Same problem.

I think bumping ubuntu to 20.04 or 22.04 should fix also.

vans163 avatar May 05 '22 15:05 vans163