C1imber's Blog

解决kali执行apt update时报错

字数统计: 209阅读时长: 1 min
2018/03/19 Share

解决kali执行apt update时报错

更新kali时在执行apt update遇到如下错误

Get:1 http://kali.mirror.garr.it/mirrors/kali kali-rolling InRelease [30.5 kB]
Err:1 http://kali.mirror.garr.it/mirrors/kali kali-rolling InRelease
The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <devel@kali.org>
Reading package lists... Done
Building dependency tree       
Reading state information... Done
945 packages can be upgraded. Run 'apt list --upgradable' to see them.
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>
W: Failed to fetch http://http.kali.org/kali/dists/kali-rolling/InRelease  The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <devel@kali.org>
W: Some index files failed to download. They have been ignored, or old ones used instead.

mark

解决方法

apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 7D8D0BF6

mark

再次执行就可以成功执行了
mark

CATALOG
  1. 1. 解决kali执行apt update时报错