티스토리 뷰

deb https://deb.nodesource.com/node_14.x bionic main
deb-src https://deb.nodesource.com/node_14.x bionic main

nodejs 14.x 버전 설치 중 다음과 같은 오류가 발생했습니다. 이 오류는 apt 명령에서 nodesource.com의 접근하는 키게 문제가 있어서 발생합니다.

 

Err:1 https://deb.nodesource.com/node_14.x bionic InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1655A0AB68576280
Hit:5 http://10.182.248.41/ubuntu bionic-security InRelease
Hit:6 http://10.182.248.41/ubuntu bionic-proposed InRelease
Reading package lists... Done
W: GPG error: https://deb.nodesource.com/node_14.x bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1655A0AB68576280
E: The repository 'https://deb.nodesource.com/node_14.x bionic InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Error executing command, exiting

해결방법

이 문제를 해결하는 방법은 키를 등록하는 것입니다. 다음 명령으로 키를 등록할 수 있습니다. 키를 등록할 때 프록시 설정이 필요하면 추가하고, 필요 없다면 빼면 됩니다.

 

 

 

그래도 오류가 발생하면 apt 소스 리스트에 오류가 없는지 확인합니다. /etc/apt/sources.list.d/nodesource.list 에 오류가 없는지 확인하면 됩니다.

 

 

반응형
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
«   2025/02   »
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28
글 보관함