关于Debian中apt-get时出现NO_PUBKEY的解决方法
2014-02-13 12:28
411 查看
# 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
# apt-key update反馈:
gpg: key F42584E6: "Lenny Stable Release Key <debian-release@lists.debian.org>" not changed gpg: key 55BE302B: "Debian Archive Automatic Signing Key (5.0/lenny) <ftpmaster@debian.org>" not changed gpg: key 6D849617: "Debian-Volatile Archive Automatic Signing Key (5.0/lenny)" not changed gpg: key B98321F9: "Squeeze Stable Release Key <debian-release@lists.debian.org>" not changed gpg: key 473041FA: "Debian Archive Automatic Signing Key (6.0/squeeze) <ftpmaster@debian.org>" not changed gpg: key 46925553: "Debian Archive Automatic Signing Key (7.0/wheezy) <ftpmaster@debian.org>" not changed gpg: key 65FFB764: "Wheezy Stable Release Key <debian-release@lists.debian.org>" not changed gpg: Total number processed: 7 gpg: unchanged: 7
问题解决。
或者
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8B48AD6246925553
也可以解决问题。
相关文章推荐
- Debian 中使用apt-get update 出现NO_PUBKEY 解决方法
- apt-get update出现NO_PUBKEY错误的解决方法
- Ubuntu安装telent服务器时出现:apt-get:Package has no installation的原因及解决方法
- 解决apt-get update出现NO_PUBKEY的问题
- apt-get出现E:Encountered a section with no Package: header, ……及其解决方法
- 关于ubuntu 更换成国内源之后,apt-get 出现The following packages have unmet dependencies:的解决方法
- Ubuntu在执行sudo apt-get install ***出现E:Encountered a section with no Package header错误解决方法
- apt-get出现E:Encountered a section with no Package: header……的解决方法
- Apt-get : NO_PUBKEY / GPG error解决方法
- Ubuntu下apt-get出现“no public key available…”解决方法
- apt-get update出现NO_PUBKEY错误怎么办?
- Ubuntu - 运行 apt-get install 就出现jdk installer 错误的解决方法
- 关于python里运行出现'module' object has no attribute 'xxxx'等问题解决方法
- apt-get update 出现GPG错误解决方法
- 关于Gazebo出现错误Error [Node.cc:90] No namespace found的解决方法
- Ubuntu 出现 apt-get问题的解决方法
- 出现命令提示apt-get -f install的解决方法
- 关于Androidstudio中NavigationView出现的问题(No resource identifier found for attribute 'headerLayout' )及解决方法
- ubuntu 使用sudo apt-get update 出现 被配置多次导致无法升级错误解决方法
- ubuntu apt-get 出现NO_PUBKEY的解决方案