한 번만 더 해보자

[Linux] The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A4B469963BF863CC 본문

Linux

[Linux] The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A4B469963BF863CC

정 하임 2024. 1. 4. 21:24

상황

apt-get update를 하니까 다음과 같은 코드가 발생했다

 

 

에러 코드

W: GPG error: <https://developer.download.nvidia.com/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 not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
  • 서명들이 공개키가 없기 때문에 인증할 수 없다

 

해결방안

  • nvidia 공개키 등록
# sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys [공개키]

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A4B469963BF863CC
  • 위의 에러에서 공개키를 가져와서 공개키 부분에 붙이면 된다
반응형