Debian錯誤Thereisnopublickeyavailableforthefollowingk怎么解決

本篇內(nèi)容主要講解“Debian錯誤There is no public key available for the following k怎么解決”,感興趣的朋友不妨來看看。本文介紹的方法操作簡單快捷,實用性強(qiáng)。下面就讓小編來帶大家學(xué)習(xí)“Debian錯誤There is no public key available for the following k怎么解決”吧!

成都創(chuàng)新互聯(lián)服務(wù)項目包括湖北網(wǎng)站建設(shè)、湖北網(wǎng)站制作、湖北網(wǎng)頁制作以及湖北網(wǎng)絡(luò)營銷策劃等。多年來,我們專注于互聯(lián)網(wǎng)行業(yè),利用自身積累的技術(shù)優(yōu)勢、行業(yè)經(jīng)驗、深度合作伙伴關(guān)系等,向廣大中小型企業(yè)、政府機(jī)構(gòu)等提供互聯(lián)網(wǎng)行業(yè)的解決方案,湖北網(wǎng)站推廣取得了明顯的社會效益與經(jīng)濟(jì)效益。目前,我們服務(wù)的客戶以成都為中心已經(jīng)輻射到湖北省份的部分城市,未來相信會繼續(xù)擴(kuò)大服務(wù)區(qū)域并繼續(xù)獲得客戶的支持與信任!

在對一臺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的問題。

到此,相信大家對“Debian錯誤There is no public key available for the following k怎么解決”有了更深的了解,不妨來實際操作一番吧!這里是創(chuàng)新互聯(lián)網(wǎng)站,更多相關(guān)內(nèi)容可以進(jìn)入相關(guān)頻道進(jìn)行查詢,關(guān)注我們,繼續(xù)學(xué)習(xí)!

本文標(biāo)題:Debian錯誤Thereisnopublickeyavailableforthefollowingk怎么解決
文章URL:http://muchs.cn/article4/jojioe.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供小程序開發(fā)、云服務(wù)器、網(wǎng)站設(shè)計公司、網(wǎng)站改版、網(wǎng)站排名網(wǎng)站策劃

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)

營銷型網(wǎng)站建設(shè)