728x90
반응형
apt-get update 시 아래와 같이 NO_PUBKEY 에러가 발생 했을 시
$ apt-get update
Get:1 https://download.docker.com/linux/ubuntu xenial InRelease [66.2 kB]
Hit:2 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:3 http://kr.archive.ubuntu.com/ubuntu xenial InRelease
Hit:4 http://kr.archive.ubuntu.com/ubuntu xenial-updates InRelease
Err:5 https://apt.kubernetes.io kubernetes-xenial InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FEEA9169307EA071 NO_PUBKEY 8B57C5C2836F4BEB
각 repository의 PUBKEY를 내려받아 업데이트 진행 하면 해당 에러를 해결 할 수 있다.
아래 명령어를 이용해서 PUBKEY가 없는것들을 업데이트 진행
$ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys FEEA9169307EA071 8B57C5C2836F4BEB
Executing: /tmp/tmp.FDbTelwgVX/gpg.1.sh --keyserver
keyserver.ubuntu.com
--recv-keys
FEEA9169307EA071
8B57C5C2836F4BEB
이후 다시 apt-get update를 통해 정상동작하는것을 확인
$ sudo apt-get update
Get:1 https://download.docker.com/linux/ubuntu xenial InRelease [66.2 kB]
Hit:2 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:3 http://kr.archive.ubuntu.com/ubuntu xenial InRelease
Hit:4 http://kr.archive.ubuntu.com/ubuntu xenial-updates InRelease
Get:5 https://apt.kubernetes.io kubernetes-xenial InRelease [154 B]
Hit:6 http://kr.archive.ubuntu.com/ubuntu xenial-backports InRelease
Get:7 https://apt.kubernetes.io kubernetes-xenial/main amd64 Packages [52.6 kB]
728x90
반응형
'Programming > Linux' 카테고리의 다른 글
[UDP] linux에서 UDP 테스트 트래픽 전송하기 (0) | 2022.03.10 |
---|---|
[Linux] user 생성 (useradd) 및 삭제 (userdel) (0) | 2022.02.03 |
[journalctl] how to use journalctl (journalctl 사용법) (0) | 2019.07.31 |
[systemctl] how to use systemctl (systemctl 사용법) (0) | 2019.07.31 |
[우분투] ubuntu ssh install (우분투 ssh 설치) (0) | 2018.12.10 |
댓글