问题
创建 Kali
虚拟机后,联网进行更新报错
root@kali:~# apt update
Get:1 http://mirrors.neusoft.edu.cn/kali kali-rolling InRelease [30.5 kB]
Err:1 http://mirrors.neusoft.edu.cn/kali kali-rolling InReleaseThe following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <devel@kali.org>
Reading package lists... Done
W: GPG error: http://mirrors.neusoft.edu.cn/kali kali-rolling InRelease: The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <devel@kali.org>
E: The repository 'http://http.kali.org/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;
OKroot@kali:~# apt update
Get:1 http://mirrors.neusoft.edu.cn/kali kali-rolling InRelease [30.5 kB]
Get:2 http://mirrors.neusoft.edu.cn/kali kali-rolling/main amd64 Packages [17.7 MB]
Get:3 http://mirrors.neusoft.edu.cn/kali kali-rolling/non-free amd64 Packages [205 kB]
Get:4 http://mirrors.neusoft.edu.cn/kali kali-rolling/contrib amd64 Packages [108 kB]
Fetched 18.1 MB in 22s (825 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
1579 packages can be upgraded. Run 'apt list --upgradable' to see them.