1、更新源
#清華
deb http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free
加到文件/etc/apt/sources.list中
2、更新
apt-get update
3、錯誤
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. ...
The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <[email protected]>
4、分析原因
祕鑰過期
查看:apt-key list
5、更新祕鑰
apt-key adv --keyserver keys.gnupg.net --recv-keys ED444FF07D8D0BF6
apt-key list
6、更新
apt-get update