亚色中文I日本不卡一二三I朝桐光av一区二区三区I3p视频在线观看I日本女人毛片I日韩新片王网I日韩在线观看视频一区二区三区I超碰黑人I日本视频在线免费观看I日韩视频精品在线I成 人色 网 站 欧美大片在线观看I黄页视频免费观看I久久福利视频导航I久久网国产I717yy欧美电影夜夜福利I久久久久久视I国产免费成人avI可以看污的网站I四虎黄色影院I中文一区在线观看Iwwwwxxxxx日本Iwww.久久久久久I99re在线国产I好吊视频在线观看I日韩成人短视频

Debian: There is no public key available for the following k

在對一臺Debian服務(wù)器執(zhí)行更新時,發(fā)生如下錯誤: 實例: root@mfus1006:~# apt-get update Hit http://security.debian.org wheezy/updates Release.gpg Hit http://security.debian.org wheezy/updates Release Hit http://ftp.debi

Debian: There is no public key available for the following k

來源:夢飛科技 作者:夢飛 瀏覽量:209
2015-09-15
0
在對一臺Debian服務(wù)器執(zhí)行更新時,發(fā)生如下錯誤:
實例:

root@mfus1006:~# apt-get update
Hit http://security.debian.org wheezy/updates Release.gpg
Hit http://security.debian.org wheezy/updates Release
Hit http://ftp.debian.org wheezy Release.gpg
Hit http://security.debian.org wheezy/updates/main i386 Packages
Hit http://security.debian.org wheezy/updates/contrib i386 Packages
Hit http://ftp.debian.org wheezy Release
Hit http://security.debian.org wheezy/updates/non-free i386 Packages
Hit http://security.debian.org wheezy/updates/contrib Translation-en
Hit http://ftp.debian.org wheezy/main i386 Packages
Hit http://security.debian.org wheezy/updates/main Translation-en
Hit http://ftp.debian.org wheezy/contrib i386 Packages
Hit http://security.debian.org wheezy/updates/non-free Translation-en
Hit http://ftp.debian.org wheezy/non-free i386 Packages
Hit http://ftp.debian.org wheezy/contrib Translation-en
Hit http://ftp.debian.org wheezy/main Translation-en
Hit http://ftp.debian.org wheezy/non-free Translation-en
Reading package lists... Done
W: There is no public key available for the following key IDs:
9D6D8F6BC857C906
W: There is no public key available for the following key IDs:
7638D0442B90D010


解決public key的問題的命令
命令一:
apt-get install debian-keyring debian-archive-keyring
命令二:
apt-key update

實例:
命令一:

root@mfus1006:~# apt-get install debian-keyring debian-archive-keyring
Reading package lists... Done
Building dependency tree
Reading state information... Done
debian-keyring is already the newest version.
The following packages will be upgraded:
  debian-archive-keyring
1 upgraded, 0 newly installed, 0 to remove and 79 not upgraded.
Need to get 60.7 kB of archives.
After this operation, 26.6 kB of additional disk space will be used.
Do you want to continue [Y/n]? y 這里需要回答 y 確定
Get:1 http://ftp.debian.org/debian/ wheezy/main debian-archive-keyring all 2014.3~deb7u1 [60.7 kB]
Fetched 60.7 kB in 0s (101 kB/s)
(Reading database ... 30582 files and directories currently installed.)
Preparing to replace debian-archive-keyring 2012.4 (using .../debian-archive-keyring_2014.3~deb7u1_all.deb) ...
Unpacking replacement debian-archive-keyring ...
Setting up debian-archive-keyring (2014.3~deb7u1) ...

命令二:
root@mfus1006:~# apt-key update
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 65FFB764: "Wheezy Stable Release Key <debian-release@lists.debian.org>" not changed
gpg: key 46925553: "Debian Archive Automatic Signing Key (7.0/wheezy) <ftpmaster@debian.org>" not changed
gpg: key 518E17E1: "Jessie Stable Release Key <debian-release@lists.debian.org>" not changed
gpg: key 2B90D010: "Debian Archive Automatic Signing Key (8/jessie) <ftpmaster@debian.org>" not changed
gpg: key C857C906: "Debian Security Archive Automatic Signing Key (8/jessie) <ftpmaster@debian.org>" not changed
gpg: Total number processed: 7
gpg:              unchanged: 7

測試再次升級:
root@mfus1006:~# apt-get update
Hit http://ftp.debian.org wheezy Release.gpg
Hit http://security.debian.org wheezy/updates Release.gpg
Hit http://ftp.debian.org wheezy Release
Hit http://security.debian.org wheezy/updates Release
Hit http://security.debian.org wheezy/updates/main i386 Packages
Hit http://ftp.debian.org wheezy/main i386 Packages
Hit http://security.debian.org wheezy/updates/contrib i386 Packages
Hit http://security.debian.org wheezy/updates/non-free i386 Packages
Hit http://ftp.debian.org wheezy/contrib i386 Packages
Hit http://security.debian.org wheezy/updates/contrib Translation-en
Hit http://security.debian.org wheezy/updates/main Translation-en
Hit http://ftp.debian.org wheezy/non-free i386 Packages
Hit http://security.debian.org wheezy/updates/non-free Translation-en
Hit http://ftp.debian.org wheezy/contrib Translation-en
Hit http://ftp.debian.org wheezy/main Translation-en
Hit http://ftp.debian.org wheezy/non-free Translation-en
Reading package lists... Done
 
至此,已成功解決了public key的問題。
部分文章來源與網(wǎng)絡(luò),若有侵權(quán)請聯(lián)系站長刪除!
主站蜘蛛池模板: 砀山县| 宿迁市| 奈曼旗| 清水县| 嵊州市| 广州市| 轮台县| 庆阳市| 吉林市| 浮山县| 焉耆| 惠州市| 涪陵区| 观塘区| 得荣县| 呼伦贝尔市| 松江区| 吉水县| 修文县| 峨眉山市| 黔东| 惠东县| 平潭县| 辰溪县| 鲁山县| 深水埗区| 贞丰县| 含山县| 平遥县| 志丹县| 武隆县| 通州区| 犍为县| 哈密市| 龙泉市| 彭山县| 宜兴市| 隆林| 桃园县| 禄丰县| 邢台县|