【 Solutions 】解決 gpgkeys: protocol `https' not supported

【 Solutions 】解決 gpgkeys: protocol `https' not supported

問題

Ubuntu 中安裝 CUDA Driver 發生下方錯誤訊息

gpgkeys: protocol `https' not supported gpg: no handler for keyserver scheme `https' gpg: WARNING: unable to fetch URI https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/7fa2af80.pub: keyserver error 

解決方案

Step 1. 更新

  • 請在終端機 ( macOS ) 或 PowerShell ( Windows ) 輸入下方指令
    sudo apt-get update 

Step 2. 安裝 gnupg-curl

  • 請在終端機 ( macOS ) 或 PowerShell ( Windows ) 輸入下方指令
    sudo apt install gnupg-curl 

GitHub
List of blogs