signature=ff221917e1dd788d219e5e19d56b8628,The following signatures were invalid: EXPKEYSIG ED444FF0...

I just tried to update one my Kali Virtual Machine and received the following error:

root@kali:~#

root@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

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

W: Failed to fetch http://http.kali.org/kali/dists/kali-rolling/InRelease The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository

W: Some index files failed to download. They have been ignored, or old ones used instead.

root@kali:~

7a1ca054d91ad45bb1351a7079207217.png

It seems like the APT GPG Key expired. Searched around and the found that the following solution worked for most people:

root@kali:~# apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 7D8D0BF6

Executing: /tmp/apt-key-gpghome.Ze2Ri87qe6/gpg.1.sh --keyserver hkp://keys.gnupg.net --recv-keys 7D8D0BF6

gpg: key ED444FF07D8D0BF6: 133 signatures not checked due to missing keys

gpg: key ED444FF07D8D0BF6: "Kali Linux Repository " 135 new signatures

gpg: Total number processed: 1

gpg: new signatures: 135

root@kali:~#

f6eea06061767d7dc1b84264b0c1aed7.png

After that, you simply try to run apt-get update and it should just work as normal.

cf96f9af19fe470037b67508d5a000f3.png

Apparently the above solution didn’t work for few, here’s an alternative solution:

root@kali:~# wget https://http.kali.org/kali/pool/main/k/kali-archive-keyring/kali-archive-keyring_2018.1_all.deb

root@kali:~# apt install ./kali-archive-keyring_2018.1_all.deb

However, you need to ensure that your Kali Linux Repositories are correct, mine were as follows:

dbf38d8b87703ec23c04951108b6d1fe.png

If you want a guide on how to fix you Kali Linux Official Repositories, follow this guide. Follow the Kali Rolling section.

Happy days!

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值