网创优客建站品牌官网
为成都网站建设公司企业提供高品质网站建设
热线:028-86922220
成都专业网站建设公司

定制建站费用3500元

符合中小企业对网站设计、功能常规化式的企业展示型网站建设

成都品牌网站建设

品牌网站建设费用6000元

本套餐主要针对企业品牌型网站、中高端设计、前端互动体验...

成都商城网站建设

商城网站建设费用8000元

商城网站建设因基本功能的需求不同费用上面也有很大的差别...

成都微信网站建设

手机微信网站建站3000元

手机微信网站开发、微信官网、微信商城网站...

建站知识

当前位置:首页 > 建站知识

Debian错误Thereisnopublickeyavailableforthefollowingk怎么解决

本篇内容主要讲解“Debian错误There is no public key available for the following k怎么解决”,感兴趣的朋友不妨来看看。本文介绍的方法操作简单快捷,实用性强。下面就让小编来带大家学习“Debian错误There is no public key available for the following k怎么解决”吧!

成都创新互联服务项目包括湖北网站建设、湖北网站制作、湖北网页制作以及湖北网络营销策划等。多年来,我们专注于互联网行业,利用自身积累的技术优势、行业经验、深度合作伙伴关系等,向广大中小型企业、政府机构等提供互联网行业的解决方案,湖北网站推广取得了明显的社会效益与经济效益。目前,我们服务的客户以成都为中心已经辐射到湖北省份的部分城市,未来相信会继续扩大服务区域并继续获得客户的支持与信任!

在对一台Debian服务器执行更新时,发生如下错误:
实例:

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 " not changed

gpg: key 473041FA: "Debian Archive Automatic Signing Key (6.0/squeeze) " not changed

gpg: key 65FFB764: "Wheezy Stable Release Key " not changed

gpg: key 46925553: "Debian Archive Automatic Signing Key (7.0/wheezy) " not changed

gpg: key 518E17E1: "Jessie Stable Release Key " not changed

gpg: key 2B90D010: "Debian Archive Automatic Signing Key (8/jessie) " not changed

gpg: key C857C906: "Debian Security Archive Automatic Signing Key (8/jessie) " 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的问题。

到此,相信大家对“Debian错误There is no public key available for the following k怎么解决”有了更深的了解,不妨来实际操作一番吧!这里是创新互联网站,更多相关内容可以进入相关频道进行查询,关注我们,继续学习!


文章标题:Debian错误Thereisnopublickeyavailableforthefollowingk怎么解决
链接地址:http://bjjierui.cn/article/jojioe.html

其他资讯