apt出现no public key available for the following key IDs
2015-05-16 21:41
471 查看
昨天在163为开源做贡献 网易推出开源软件镜像这篇文章说到网易的开源第一步,想说在我的debian上测试一下速度,结果被提示:
W: There is no public key available for the following key IDs:
4D270D06F42584E6
W: You may want to run apt-get update to correct these problems
root@debian:/etc/apt# apt-get update
Get:1 http://mirrors.163.com stable Release.gpg [386B]
Hit http://mirrors.163.com stable Release
Ign http://mirrors.163.com stable/main Sources/DiffIndex
Hit http://mirrors.163.com stable/main Sources
Fetched 1B in 0s (27B/s)
Reading package lists... Done
W: There is no public key available for the following key IDs:
4D270D06F42584E6
W: You may want to run apt-get update to correct these problems
解决的办法为:
apt-get install debian-keyring debian-archive-keyring
然后
apt-key update
root@debian:/etc/apt# apt-get install debian-keyring debian-archive-keyring
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed:
debian-keyring
The following packages will be upgraded:
debian-archive-keyring
1 upgraded, 1 newly installed, 0 to remove and 266 not upgraded.
Need to get 21.1MB of archives.
After unpacking 26.0MB of additional disk space will be used.
Get:1 http://debian.cn99.com stable/main debian-archive-keyring 2009.01.31 [12.8kB]
Get:2 http://debian.cn99.com stable/main debian-keyring 2009.01.18 [21.1MB]
Fetched 21.1MB in 7s (2848kB/s)
(Reading database ... 29393 files and directories currently installed.)
Preparing to replace debian-archive-keyring 2007.07.31~etch1 (using .../debian-archive-keyring_2009.01.31_all.deb) ...
Unpacking replacement debian-archive-keyring ...
Setting up debian-archive-keyring (2009.01.31) ...
gpg: key 6070D3A1: "Debian Archive Automatic Signing Key (4.0/etch) ftpmaster@debian.org" not changed
gpg: key ADB11277: "Etch Stable Release Key debian-release@lists.debian.org" not changed
gpg: key BBE55AB3: "Debian-Volatile Archive Automatic Signing Key (4.0/etch)" not changed
gpg: key F42584E6: public key "Lenny Stable Release Key debian-release@lists.debian.org" imported
gpg: key 55BE302B: public key "Debian Archive Automatic Signing Key (5.0/lenny) ftpmaster@debian.org" imported
gpg: key 6D849617: public key "Debian-Volatile Archive Automatic Signing Key (5.0/lenny)" imported
gpg: Total number processed: 6
gpg: imported: 3 (RSA: 2)
gpg: unchanged: 3
gpg: no ultimately trusted keys found
Selecting previously deselected package debian-keyring.
(Reading database ... 29393 files and directories currently installed.)
Unpacking debian-keyring (from .../debian-keyring_2009.01.18_all.deb) ...
Setting up debian-keyring (2009.01.18) ...
root@debian:/etc/apt# apt-key update
gpg: key 6070D3A1: "Debian Archive Automatic Signing Key (4.0/etch) ftpmaster@debian.org" not changed
gpg: key ADB11277: "Etch Stable Release Key debian-release@lists.debian.org" not changed
gpg: key BBE55AB3: "Debian-Volatile Archive Automatic Signing Key (4.0/etch)" not changed
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: Total number processed: 6
gpg: unchanged: 6
就解决了~
root@debian:/etc/apt# apt-get update
Get:1 http://debian.cn99.com stable Release.gpg [386B]
Hit http://debian.cn99.com stable Release
Ign http://debian.cn99.com stable/main Packages/DiffIndex
Ign http://debian.cn99.com stable/main Sources/DiffIndex
Hit http://debian.cn99.com stable/main Packages
Hit http://debian.cn99.com stable/main Sources
Fetched 1B in 0s (11B/s)
Reading package lists... Done
W: There is no public key available for the following key IDs:
4D270D06F42584E6
W: You may want to run apt-get update to correct these problems
root@debian:/etc/apt# apt-get update
Get:1 http://mirrors.163.com stable Release.gpg [386B]
Hit http://mirrors.163.com stable Release
Ign http://mirrors.163.com stable/main Sources/DiffIndex
Hit http://mirrors.163.com stable/main Sources
Fetched 1B in 0s (27B/s)
Reading package lists... Done
W: There is no public key available for the following key IDs:
4D270D06F42584E6
W: You may want to run apt-get update to correct these problems
解决的办法为:
apt-get install debian-keyring debian-archive-keyring
然后
apt-key update
root@debian:/etc/apt# apt-get install debian-keyring debian-archive-keyring
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed:
debian-keyring
The following packages will be upgraded:
debian-archive-keyring
1 upgraded, 1 newly installed, 0 to remove and 266 not upgraded.
Need to get 21.1MB of archives.
After unpacking 26.0MB of additional disk space will be used.
Get:1 http://debian.cn99.com stable/main debian-archive-keyring 2009.01.31 [12.8kB]
Get:2 http://debian.cn99.com stable/main debian-keyring 2009.01.18 [21.1MB]
Fetched 21.1MB in 7s (2848kB/s)
(Reading database ... 29393 files and directories currently installed.)
Preparing to replace debian-archive-keyring 2007.07.31~etch1 (using .../debian-archive-keyring_2009.01.31_all.deb) ...
Unpacking replacement debian-archive-keyring ...
Setting up debian-archive-keyring (2009.01.31) ...
gpg: key 6070D3A1: "Debian Archive Automatic Signing Key (4.0/etch) ftpmaster@debian.org" not changed
gpg: key ADB11277: "Etch Stable Release Key debian-release@lists.debian.org" not changed
gpg: key BBE55AB3: "Debian-Volatile Archive Automatic Signing Key (4.0/etch)" not changed
gpg: key F42584E6: public key "Lenny Stable Release Key debian-release@lists.debian.org" imported
gpg: key 55BE302B: public key "Debian Archive Automatic Signing Key (5.0/lenny) ftpmaster@debian.org" imported
gpg: key 6D849617: public key "Debian-Volatile Archive Automatic Signing Key (5.0/lenny)" imported
gpg: Total number processed: 6
gpg: imported: 3 (RSA: 2)
gpg: unchanged: 3
gpg: no ultimately trusted keys found
Selecting previously deselected package debian-keyring.
(Reading database ... 29393 files and directories currently installed.)
Unpacking debian-keyring (from .../debian-keyring_2009.01.18_all.deb) ...
Setting up debian-keyring (2009.01.18) ...
root@debian:/etc/apt# apt-key update
gpg: key 6070D3A1: "Debian Archive Automatic Signing Key (4.0/etch) ftpmaster@debian.org" not changed
gpg: key ADB11277: "Etch Stable Release Key debian-release@lists.debian.org" not changed
gpg: key BBE55AB3: "Debian-Volatile Archive Automatic Signing Key (4.0/etch)" not changed
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: Total number processed: 6
gpg: unchanged: 6
就解决了~
root@debian:/etc/apt# apt-get update
Get:1 http://debian.cn99.com stable Release.gpg [386B]
Hit http://debian.cn99.com stable Release
Ign http://debian.cn99.com stable/main Packages/DiffIndex
Ign http://debian.cn99.com stable/main Sources/DiffIndex
Hit http://debian.cn99.com stable/main Packages
Hit http://debian.cn99.com stable/main Sources
Fetched 1B in 0s (11B/s)
Reading package lists... Done
相关文章推荐
- apt-get出现no public key available for the following key IDs
- There is no public key available for the following key IDs:9D6D8F6BC857C906
- There is no public key available for the following key IDs:3B4FE6ACC0B21F32
- There is no public key available for the following key IDs: 3B4FE6ACC0B21F32
- W: There is no public key available for the following key IDs, E: Couldn't rebuild package cache
- W: There is no public key available for the following key IDs: 3B4FE6ACC0B21F32
- How to fix no public key available for the following key IDs in debian
- debian There is no publickey available forthe following key IDs:
- The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 010
- apt-get couldn't be verified because the public key is not available: NO_PUBKEY XXX
- Ubuntu下apt-get出现“no public key available…”解决方法
- ubuntu14.04 报错 The following signatures couldn't be verified because the public key is not available
- The following signatures couldn't be verified because the public key is not available
- 有时候出现No provider available for the service dubbo错误
- 如何解决apt-get update出现The following signatures were invalid: NODATA 1 NODATA 2问题
- Fix apt-get update “the following signatures couldn’t be verified because the public key is not avai
- git 出现The current branch is not configured for pull No value for key branch.master.merge found in configuration错误的解决办法
- The following signatures couldn't be verified because the public key is not available
- 修复 apt-get update “the following signatures couldn’t be verified because the public key is not avai
- egit 出现问题 The current branch is not configured for pull No value for key branch.master.merge found i