1. 程式人生 > >關於Debian中apt-get時出現NO_PUBKEY的解決方法

關於Debian中apt-get時出現NO_PUBKEY的解決方法

# 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 <[email protected]>" not changed
gpg: key 55BE302B: "Debian Archive Automatic Signing Key (5.0/lenny) <[email protected]>" not changed
gpg: key 6D849617: "Debian-Volatile Archive Automatic Signing Key (5.0/lenny)" not changed
gpg: key B98321F9: "Squeeze Stable Release Key <
[email protected]
>" not changed gpg: key 473041FA: "Debian Archive Automatic Signing Key (6.0/squeeze) <[email protected]>" not changed gpg: key 46925553: "Debian Archive Automatic Signing Key (7.0/wheezy) <[email protected]>" not changed gpg: key 65FFB764: "Wheezy Stable Release Key <
[email protected]
>" not changed gpg: Total number processed: 7 gpg: unchanged: 7

問題解決。

或者

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8B48AD6246925553

也可以解決問題。

相關推薦

關於Debianapt-get出現NO_PUBKEY解決方法

# 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 使用apt-get update 出現NO_PUBKEY 解決方法

在使用apt-get update 更新時提示 W: GPG error: http://ftp.debian-unofficial.org etch Release: The followingsignatures couldn't be verified because

[轉] linux下shell使用上下鍵翻出歷史命名出現^[[A^[[A^[[A^[[B^[[B的問題解決,Linux使用退格鍵出現^H解決方法

XA TP brk 因此 上下 參數 csdn def 無法 [From] https://www.zmrbk.com/post-2030.html https://blog.csdn.net/suifengshiyu/article/details/40952771

Microsoft Word 2007 向程序發送命令出現問題解決方法

wid 刪除用戶 文件路徑 .html eight 問題 地址 重新 jin 最近在打開Word文檔時總是出現“向程序發送命令時出現問題”對話框,而且不確定性,關閉重新打開有時沒事了有時還不行, 很讓人頭疼,經過嘗試,把問題解決了 1、問題截圖如下: 2、解決方法 1)方

yum 下載出現錯誤解決方法

yum1,ping www.baidu.com 驗證你是否能夠上網2,ping 223.5.5.5 ping域名不通,ping外網地址時通了,你的DNS配置有問題。3,修改DNS網卡的配置文件 如: cp /etc/sysconfig/network-scripts/ifcfg-eth0 /t

Linux使用退格鍵出現^H ^?解決方法

ID csdn 方法 內容 inux http lin 執行 backspace 學習源頭: https://blog.csdn.net/u013907239/article/details/74898123 Linux使用退格鍵時出現^H ^?解決方法 在linux下執行

執行安裝軟體命令提示apt-get -f install的解決方法

在我安裝軟體的時候,提示apt-get -f install這個資訊,然後檢視其他的提示資訊發現時缺少了一些以依賴庫。 [email protected]:~/Downloads$ sudo apt-get install vim Reading

在舊版本Ubuntu系統使用“apt-get update”出現“404 Not Found”錯誤的解決辦法

每一個Ubuntu釋出版本都有它的結束時間,通常,Ubuntu釋出版本支援18個月,而LTS (Long Term Support)(長期支援)版本分別支援3年(伺服器版)和5年(桌面版)。當一個Ubuntu釋出版本到達結束期後,它的庫將不再能夠訪問,並且你也不會得到任何維

dockerapt-get update更新失敗解決方法

在RUN apt-get update之前新增 RUN mv /etc/apt/sources.list /etc/apt/sources.list.bak && \ echo '

ubuntu 使用sudo apt-get update 出現 被配置多次導致無法升級錯誤解決方法

code 開發機 goup 使用 lin logs 配置 周末 ubun 這個周六周末在考慮升級自己GPU開發機,在琢磨使用docker來按轉tensorflow環境,在升級軟件的時候爆出了如下錯誤 在 /etc/apt/sources.list.d/sogoupin

Powershell直接指令碼出現無法載入檔案因為在此係統禁止執行指令碼問題的解決方法

在Powershell直接指令碼時會出現: 無法載入檔案 ******.ps1,因為在此係統中禁止執行指令碼。有關詳細資訊,請參閱 "get-help about_signing"。 所在位置 行:1 字元: 17 + E:\Test\test.ps1 <<<< + Cat

Cubietruck開發板折騰008:apt-get update出現警告問題解決

     問題:今天找到了些新的軟體軟,打算更新下源來著的(畢竟之前新增的軟太少了,很多軟體都找不到)。但是在更新軟體源(sudo apt-get update)的時候總是爆出如下錯誤,出現一連串的警告提示: Unknown Multi-Arch type 'no'

C#POST請求出現System.Net.WebException: 遠端伺服器返回錯誤: (417)Expectation Failed的解決辦法

在使用POST請求的時候,當要POST的資料大於1024位元組的時候,服務不會直接就發起POST請求,而是會分為倆步: (1)傳送一個請求, 包含一個Expect:100-continue, 詢問Ser

kali使用apt-get出錯的一系列解決方法

第一個問題:無法獲得鎖 無法獲得鎖 /var/lib/dpkg/lock - open (11: 資源暫時不可用) 無法鎖定管理目錄(/var/lib/dpkg/),是否有其他程序正佔用它? 方法一

解決Eclipse啟動Tomcat出現 Port 8080 required by Tomcat v8.0 Server at localhost is already in use...

解決方法: 1   找到佔用8080埠的程序,並結束程序。        1.Win+R  開啟執行 ,輸入cmd 開啟命令列視窗 。        2.假設要查詢埠808

ubuntu apt-get 遇到waiting for headers ——解決方法

    不知為何,當用到apt-get 時總是waiting for headers,上網搜尋瞭解決方法,在這裡記錄一下,方便自己,方便別人。     找到 /var/cache/apt/archives/partial  目錄,進去之後刪除裡面的東東即可........

解決Eclipse啟動Tomcat出現 Port 8080 required by Tomcat v7 Server at localhost is already in use...

在Eclipse中啟動Tomcat時出現如下圖錯誤:                    2.修改Tomcat的埠號:                    找到Tomct的安裝路徑下的conf資料夾,例如下面:                       D:\thDow

css使用中文出現亂碼的問題的解決方法

css程式碼中使用中文時,如content屬性值中帶有中文,有時會出現亂碼的現象,解決方法如下: 首先:檢查該css檔案的編碼格式,是否為utf-8 其次:將中文轉成編碼的形式,不要寫中文 轉碼工具:http://tool.chinaz.com/tools/unicode.as

在sql2005附加資料庫出現作業系統錯誤 5:"5(拒絕訪問。) 解決方法

在sql2005中附加資料庫時出現無法開啟物理檔案 "*.mdf"。作業系統錯誤 5:"5(拒絕訪問。)" 還以為是2000到2005之間的版本關係。 解決辦法 出現該問題是由於用混合驗證方式登入資料庫造成的,只要將登入方式換為windows驗證方式即可解決該問題,附加成功後再用混合模式登陸就沒問題了。 其

ubuntuapt-get install 無法使用的解決辦法

    今天用sudo apt-get install命令安裝curl的時候,在安裝還在進行的時候手賤的強制退出了終端,然後導致sudo apt-get install無法使用安裝軟體,具體報錯和該連結下相同: http://ubuntuforums.org/showthr