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
문제를 해결할 수도 있다.
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
Debian/Ubuntu 구성 He.net IPv6 터널1. 등록 He.net 계정 2. 일반 터널 1개 만들기 3. 터널 상세 정보 확장 라벨에서 코드 얻기 eg:auto he-ipv6 iface he-ipv6 inet6 v4tunne...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.