kali 2017 更新源 错误解决

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 

4、分析原因

秘钥过期
查看:apt-key list

5、更新秘钥

apt-key adv --keyserver keys.gnupg.net --recv-keys ED444FF07D8D0BF6
apt-key list

6、更新

apt-get update

你可能感兴趣的:(纠错院)