今天更新kali时失败,出现如下问题:
root@kali:~# apt-get update Get:1 http://mirrors.aliyun.com/kali kali-rolling InRelease [30.5 kB] Err:1 http://mirrors.aliyun.com/kali kali-rolling InRelease The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <devel@kali.org> Reading package lists... Done W: GPG error: http://mirrors.aliyun.com/kali kali-rolling InRelease: The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <devel@kali.org> E: The repository \'http://mirrors.aliyun.com/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.
解决办法:
root@kali:~# wget -q -O - https://archive.kali.org/archive-key.asc | apt-key add OK
再次更新:
root@kali:~# apt-get update Get:1 http://mirrors.aliyun.com/kali kali-rolling InRelease [30.5 kB] Get:2 http://mirrors.aliyun.com/kali kali-rolling/main Sources [12.0 MB] Get:3 http://mirrors.aliyun.com/kali kali-rolling/contrib Sources [60.8 kB] Get:4 http://mirrors.aliyun.com/kali kali-rolling/non-free Sources [132 kB] Get:5 http://mirrors.aliyun.com/kali kali-rolling/main amd64 Packages [16.2 MB] Get:6 http://mirrors.aliyun.com/kali kali-rolling/non-free amd64 Packages [166 kB] Get:7 http://mirrors.aliyun.com/kali kali-rolling/contrib amd64 Packages [102 kB] Fetched 28.6 MB in 6s (4,522 kB/s) Reading package lists... Done
另附上kali更新源:
kali更新源 : https://www.cnblogs.com/Hi-blog/p/5955113.html
Reference: