kali linux升级

自己使用的是2017.2 版本的kali linux 想着升级一下 里面的包 比如msf 等 但是执行

msfupdate时提示

root@kali201702:~# msfupdate
msfupdate is no longer supported when Metasploit is part of the operating
system. Please use 'apt update; apt install metasploit-framework'

然后执行命令:

apt-get update && apt-get upgrade

提示

W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://kali.mirror.garr.it/mirrors/kali kali-rolling InRelease: The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <devel@kali.org>

然后 通过网上找资料发现解决方案有一个:

https://www.cnblogs.com/lanqie/p/8513102.html

wget -q -O - https://archive.kali.org/archive-key.asc | apt-key add

尝试进行升级了.

原文地址:https://www.cnblogs.com/jinanxiaolaohu/p/8527902.html