跳至主要內容

GPG error: NO_PUBKEY BCD50790B81839D3 while installing CUDA on WSL2 (Ubuntu 22.04)

If you have read my previous posts titled Install WSL2 to other disk drive and intro basic commands for WSL and Install Docker-Desktop and Docker-Data to other drive on Windows 11, you would be aware that I am in the process of setting up an environment on my personal Windows desktop for training AI models.

Once the environment is established, the next step is to install Cog. Cog is an open-source tool that enables the packaging of machine learning models in a standardized and production-ready container. However, I encountered an error while following the instructions to install CUDA for WSL.

Get:1 file:/var/cuda-repo-wsl-ubuntu-11-7-local  InRelease [1575 B]
Err:1 file:/var/cuda-repo-wsl-ubuntu-11-7-local  InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BCD50790B81839D3

You can resolve this issue by the following command

sudo cp /var/cuda-repo-wsl-ubuntu-11-7-local/*.gpg /usr/share/keyrings/
分類:Issues

搶先發佈留言

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *

由 Compete Themes 設計的 Author 佈景主題