日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > linux >内容正文

linux

kali linux 2.0配置更新源后apt-get update 报错

發布時間:2025/4/16 linux 35 豆豆
生活随笔 收集整理的這篇文章主要介紹了 kali linux 2.0配置更新源后apt-get update 报错 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

這個是我/etc/apt/sources.list的更新源:

1 deb http://http.kali.org/kali kali-rolling main contrib non-free 2 deb http://old.kali.org/kali sana main non-free contrib

配置好之后apt-get update報錯如下:

1 root@kali:~# apt-get update 2 Get:1 http://old.kali.org/kali sana InRelease [20.3 kB] 3 Get:2 http://mirrors.neusoft.edu.cn/kali kali-rolling InRelease [30.5 kB] 4 Err:1 http://old.kali.org/kali sana InRelease 5 The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <devel@kali.org> 6 Err:2 http://mirrors.neusoft.edu.cn/kali kali-rolling InRelease 7 The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <devel@kali.org> 8 Reading package lists... Done 9 W: GPG error: http://old.kali.org/kali sana InRelease: The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <devel@kali.org> 10 E: The repository 'http://old.kali.org/kali sana InRelease' is not signed. 11 N: Updating from such a repository can't be done securely, and is therefore disabled by default. 12 N: See apt-secure(8) manpage for repository creation and user configuration details. 13 W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://mirrors.neusoft.edu.cn/kali kali-rolling InRelease: The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <devel@kali.org>

經google查找解決方式,得到國外大佬給出的解決方案:

https://forums.kali.org/showthread.php?38858-apt-get-update-GPG-error-key-expired

1 apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 7D8D0BF6

再次apt-get update就沒問題了

轉載于:https://www.cnblogs.com/pythonal/p/8961368.html

總結

以上是生活随笔為你收集整理的kali linux 2.0配置更新源后apt-get update 报错的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。