Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
DIYer22 opened this issue May 1, 2022 · 2 comments
Open

Comments

@DIYer22
Copy link

DIYer22 commented May 1, 2022

# 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
NVIDIA/nvidia-container-toolkit#258

@DIYer22
Copy link
Author

DIYer22 commented May 1, 2022

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
Copy link

vans163 commented May 5, 2022

Same problem.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants