LoginSignup
18
6

More than 3 years have passed since last update.

apt updateでnvidia-dockerのNO_PUBKEYエラー対応

Last updated at Posted at 2019-10-08

現象

apt-getするとnvidia-dockerのレポジトリーで「NO_PUBKEY 6ED91CA3AC1160CD」が突然表示されるようになりました

実行結果
sudo apt update

....
....

W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://nvidia.github.io/libnvidia-container/ubuntu18.04/amd64  InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6ED91CA3AC1160CD
....

解消方法

以下のコマンドでnvidia-dockerレポジトリーのgpgkeyのアップデートを行います。

curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | \
  sudo apt-key add -

参考

18
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
18
6