nytimes / rd-blender-docker

A collection of Docker containers for running Blender headless or distributed ✨
https://hub.docker.com/r/nytimes/blender
Apache License 2.0
432 stars 60 forks source link

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

Open DIYer22 opened 2 years ago

DIYer22 commented 2 years ago
# 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 commented 2 years ago
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

vans163 commented 2 years ago

Same problem.

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