Debian에서 apt-get에 대한 NOPUBKEY의 해결 방법

4194 단어 Ubuntu/GNUDebian
# vim /etc/apt/sources.list
# apt-get update

피드백:
Get:1 http://ftp.jp.debian.org squeeze Release.gpg [1672 B]
Ign http://ftp.jp.debian.org/debian/ squeeze/contrib Translation-en
Ign http://ftp.jp.debian.org/debian/ squeeze/main Translation-en
Ign http://ftp.jp.debian.org/debian/ squeeze/non-free Translation-en
Get:2 http://ftp.jp.debian.org squeeze-updates Release.gpg [836 B]
Ign http://ftp.jp.debian.org/debian/ squeeze-updates/contrib Translation-en
Ign http://ftp.jp.debian.org/debian/ squeeze-updates/main Translation-en
Ign http://ftp.jp.debian.org/debian/ squeeze-updates/non-free Translation-en
Get:3 http://ftp.jp.debian.org squeeze-proposed-updates Release.gpg [836 B]
Get:4 http://ftp.jp.debian.org/debian/ squeeze-proposed-updates/contrib Translation-en [14 B]
Get:5 http://ftp.jp.debian.org/debian/ squeeze-proposed-updates/main Translation-en [33.3 kB]
Get:6 http://ftp.jp.debian.org/debian/ squeeze-proposed-updates/non-free Translation-en [14 B]
Get:7 http://ftp.jp.debian.org squeeze Release [99.8 kB]
Get:8 http://ftp.jp.debian.org squeeze-updates Release [113 kB]
Get:9 http://ftp.jp.debian.org squeeze-proposed-updates Release [148 kB]
Ign http://ftp.jp.debian.org squeeze-updates Release
Ign http://ftp.jp.debian.org squeeze-proposed-updates Release
Get:10 http://ftp.jp.debian.org squeeze/main Sources [4541 kB]
Get:11 http://ftp.jp.debian.org squeeze/contrib Sources [40.9 kB]
Get:12 http://ftp.jp.debian.org squeeze/non-free Sources [73.2 kB]
Get:13 http://ftp.jp.debian.org squeeze/main amd64 Packages [6538 kB]
Get:14 http://ftp.jp.debian.org squeeze/contrib amd64 Packages [53.0 kB]
Get:15 http://ftp.jp.debian.org squeeze/non-free amd64 Packages [102 kB]
Get:16 http://ftp.jp.debian.org squeeze-updates/contrib Sources [14 B]
Get:17 http://ftp.jp.debian.org squeeze-updates/non-free Sources [14 B]
Get:18 http://ftp.jp.debian.org squeeze-updates/main amd64 Packages [5118 B]
Get:19 http://ftp.jp.debian.org squeeze-updates/contrib amd64 Packages [14 B]
Get:20 http://ftp.jp.debian.org squeeze-updates/non-free amd64 Packages [14 B]
Get:21 http://ftp.jp.debian.org squeeze-proposed-updates/main Sources [27.1 kB]
Get:22 http://ftp.jp.debian.org squeeze-proposed-updates/contrib Sources [14 B]
Get:23 http://ftp.jp.debian.org squeeze-proposed-updates/non-free Sources [14 B]
Get:24 http://ftp.jp.debian.org squeeze-proposed-updates/main amd64 Packages [52.3 kB]
Get:25 http://ftp.jp.debian.org squeeze-proposed-updates/contrib amd64 Packages [14 B]
Get:26 http://ftp.jp.debian.org squeeze-proposed-updates/non-free amd64 Packages [14 B]
Fetched 11.8 MB in 20s (575 kB/s)
Reading package lists... Done
W: GPG error: http://ftp.jp.debian.org squeeze-updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553
W: GPG error: http://ftp.jp.debian.org squeeze-proposed-updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553

해결 방법:
# apt-get install debian-keyring debian-archive-keyring

4
# apt-key update
피드백:
gpg: key F42584E6: "Lenny Stable Release Key " not changed
gpg: key 55BE302B: "Debian Archive Automatic Signing Key (5.0/lenny) " not changed
gpg: key 6D849617: "Debian-Volatile Archive Automatic Signing Key (5.0/lenny)" not changed
gpg: key B98321F9: "Squeeze Stable Release Key " not changed
gpg: key 473041FA: "Debian Archive Automatic Signing Key (6.0/squeeze) " not changed
gpg: key 46925553: "Debian Archive Automatic Signing Key (7.0/wheezy) " not changed
gpg: key 65FFB764: "Wheezy Stable Release Key " not changed
gpg: Total number processed: 7
gpg:              unchanged: 7

문제 해결.
혹은
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8B48AD6246925553

문제를 해결할 수도 있다.

좋은 웹페이지 즐겨찾기