'apt'에 해당되는 글 1

  1. 2007.10.01 How to handle NO_PUBKEY WARNING


2007.10.01 23:36 | Posted by bar4mi
Sometimes I had NO_PUBKEY Warnings when I tried to update the apt lists.
It likes below.
W: GPG error: http://www.debian-multimedia.org unstable Release: 다음 서명들은 공개키가 없기 때문에 인증할 수 없습니다: NO_PUBKEY 07DC563D1F41B907
W: apt-get update를 실행하면 이 문제를 바로잡을 수도 있습니다.

We can fix these problems as we add the public key to the apt key lists.
First, we have installed the 'gnupg' package.
# apt-get install gnupg

Next, download the public key from the pgp keyserver(wwwkeys.eu.pgp.net).
# gpg --keyserver wwwkeys.eu.pgp.net --recv-keys 07DC563D1F41B907
gpg: requesting key 1F41B907 from hkp server wwwkeys.eu.pgp.net
gpg: key 1F41B907: "Christian Marillat " not changed
gpg: Total number processed: 1
gpg: unchanged: 1

Last, export the download key as ASCII and add it to the apt key lists using 'apt-key' command.
# gpg --armor --export 07DC563D1F41B907 | apt-key add -

After these works, the warning will disappear.
이전 1 다음

티스토리 툴바