Linux

Ubuntu GPC ERROR

ravon 2024. 6. 25. 09:43

yum 을 사용하기 위해서 설치를 진행했다.

 

아래 3줄을 etc/apt/source.list 맨 하단에 넣어줬다.

deb http://archive.ubuntu.com/ubuntu bionic main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu bionic-security main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse

 

gpt-get update 

시 에러 .

W: GPG error:http://archive.ubuntu.com/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32
E: The repository ' http://archive.ubuntu.com/ubuntu bionic InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.

 

 

키를 입력해주면 된다.

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys <PUBKEY>

 

예시

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys  3B4FE6ACC0B21F32