分享技术,记录生活,在互联网上留下属于自己的一亩三分地。

Kali使用apt-get update更新报错

Linux novadmin 779℃ 0评论

问题描述:

在kali上使用apt-get 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>
Fetched 30.5 kB in 2s (10.2 kB/s)
Reading package lists… Done
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.
截图如下:
通过图中,可以看出是key报错;

解决办法:

执行下面的命令
#wget -q -O – https://archive.kali.org/archive-key.asc | apt-key add
然后执行
#apt-get update
#apt-get upgrade

 

转载请注明:Nov » Kali使用apt-get update更新报错

喜欢 (0)or分享 (0)
发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址