1. 程式人生 > >kali 國內源 與 apt-get update 報錯-GPG error的解決方案

kali 國內源 與 apt-get update 報錯-GPG error的解決方案

#中科大
deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
deb-src http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib


#浙大
deb http://mirrors.zju.edu.cn/kali kali-rolling main contrib non-free
deb-src http://mirrors.zju.edu.cn/kali kali-rolling main contrib non-free


#東軟大學
deb http://mirrors.neusoft.edu.cn/kali kali-rolling/main non-free contrib
deb-src http://mirrors.neusoft.edu.cn/kali kali-rolling/main non-free contrib


#重慶大學
deb http://http.kali.org/kali kali-rolling main non-free contrib
deb-src http://http.kali.org/kali kali-rolling main non-free contrib


#官方源
#deb http://http.kali.org/kali kali-rolling main non-free contrib
#deb-src http://http.kali.org/kali kali-rolling main non-free contrib

使用舊版kali經常會發生apt-get update 報錯 -GPG error, invalid key

# apt-get update

Get:1 http://kali.mirror.garr.it/mirrors/kali kali-rolling InRelease [30.5 kB]
Err:1 http://kali.mirror.garr.it/mirrors/kali kali-rolling InRelease
  The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <
[email protected]
> Reading package lists... Done W: GPG error: http://kali.mirror.garr.it/mirrors/kali kali-rolling InRelease: The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <[email protected]> E: The repository 'http://kali.mirror.garr.it/mirrors/kali kali-rolling InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.

解決方法: 下載最新key新增到keylist

wget -q -O - https://archive.kali.org/archive-key.asc | apt-key add

相關推薦

kali 國內 apt-get update -GPG error解決方案

#中科大 deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib deb-src http://mirrors.ustc.edu.cn/kali kali-rolling main non-

ubuntu 16.04 sudo apt-get update :下列簽名無效: KEYEXPIRED 1538166745 KEYEXPIRED 1538166745 解決方法

ubuntu 16.04更新報錯: sudo apt-get update 命中:1 http://mirrors.aliyun.com/ubuntu xenial InRelease 命中:2 http://mirrors.aliyun.com/ubuntu xenial-secu

apt-get update W: Unknown Multi-Arch type 'no' for package 'compiz-core'

  源 #deb包 deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ xenial-security

ubuntu 16.04 sudo apt-get update :下列簽名無效: KEYEXPIRED 1538166745 KEYEXPIRED 1538166745 解決方法

ubuntu 16.04更新報錯: sudo apt-get update 命中:1 http://mirrors.aliyun.com/ubuntu xenial InRelease 命中:2 http://mirrors.aliyun.com/ubuntu

ubuntu 執行apt-get updateFailed to fetch

在ubuntu下執行sudo apt-get update時,經常會遇到報錯: Err http://security.ubuntu.com precise-security InRelease Err http://security.ubuntu.co

Linux - Ubuntu下執行apt-get update:Some index files failed to download. They have been ignored, or old ones used instead.

報錯命令 root@ubuntu:/etc/apt# apt-get update Err:1 http://mirrors.aliyun.com/ubuntu trusty InRelease Could not resolve 'mirrors.aliyun.com' Err:2 http://mi

Ubuntu18.04無法跟新軟體sudo apt-get update

求大神指點迷津 --剛入行的小白 sudo gedit /etc/apt/sources.list  執行這個命令的時候 警告 IBUS -WARNING //警告:  IBUS-WARNING **: 16:38:29.473:The owner of

apt-get upgrade:有libpython3.6-stdlib有關的未滿足的依賴關係

在ubuntu16.04中使用apt-get upgrade更新apt包管理工具的時候,報錯顯示如下圖的資訊: 使用apt-get -f install又繼續報錯 dpkg-deb: error: subprocess paste was killed by signal (Broke

ubuntu apt-get一直解決方法

apt-get -f install 這條指令就是用來修正一些軟體依賴中存在的錯誤,敲進入之後出現了:磁碟空間已滿,寫入失敗, 其實這個並不是你的空間不夠了,是因為你安裝的包太多的緣故,可以手動清除一些 首先檢視一下我們當前已經安裝了哪些軟體  dpkg -l 如果你不

Ubuntu 中python 升級到3 後apt-get 一直

系統強制使用了新版本的python3.0之後,系統更新軟體安裝軟體報錯。解決方式如下。 sudo update-alternatives –config python -> change t

當Ubuntu 使用命令列“sudo apt-get update”時出現問題的解決方式

在使用“sudo apt-get update”更新時,會顯示: W: 無法下載 bzip2:/var/lib/apt/lists/partial/mirrors.ustc.edu.cn_ubuntu_dists_quantal-updates_main_binary-

ubuntu 執行apt-get installFailed to fetch的解決方法

最近在除錯mcuzone的nuc972開發板,用了他們給的虛擬機器,在apt-get install vim 時出現Failed to fetch的問題,在網上找了找,有人說是DNS伺服器沒有設定對,有人說需要使用阿里雲的伺服器,國外的伺服器被和諧了,根據這兩種方式修改後還是

docker中apt-get update更新失敗時的解決方法

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

ubuntu apt-get出現unable to locate package解決方案

bsp 好的 locate nbsp bash 指令 oca package www 前言 剛安裝好的ubuntu 17發現apt-get安裝指令異常。 故經網上搜索調查發現,發現這個問題基本是因為apt-get需要更新的緣故。 解決方案 只需使用命令升級更新即可。

【前端技術】nodejs安裝擴展插件,總是enoent的解決方案

擴展 執行 src 自動填充 install image 都是 切換 -s 在某一目錄下使用npm install安裝擴展插件時,老是系統提示“npm install Error: ENOENT,no such file or directory; 以前都是很順利的安裝過

libc.so.6: version 'GLIBC_2.14' not found提示的解決方案

span 千萬 -- glibc === str rect vmdisk export 線上一臺服務器在執行leveldb程序的時候,報錯:"libc.so.6: version `GLIBC_2.14‘ not found"。 排查原因及解決方法如下: 1)產生原因是

Spring-boot集及解決方案

*************************** 申請未能開始******************* ********  描述:  無法配置DataSource:未指定'url'屬性,也無法配置嵌入資料來源。  原因:無法確定合適的驅動程式類   &n

qt中文亂碼編譯問題完美解決方案

原因和解決分析參考:https://www.cnblogs.com/blog-ccs/p/7443756.html 但是上面這個方法用不了qstring; 看了很多大神的方法之後總結出一個最簡單方法: 第一步: qt creater-》工具-》選項 第二步: 在檔案頭新增: #

CentOS6.5安裝Docker 阿里雲伺服器centos6.5 安裝docker的問題解決方案

筆者這裡是用CnetOS6.5系統,開始安裝Docker之旅: [[email protected] ~]# uname -r2.6.32-431.el6.x86_64 [[email protected] ~]# cat /etc/iss

eclipse中svn資訊的解決方案

報錯資訊: Item is out of date svn: File '/trunk/src/main/webapp/js/cargoArrive/cargoInDest_list.js' is out of date Working copy is