网站导航

新闻资讯

当前位置:首页 > 新闻资讯

kali linux 换源出现数字签名错误详细超简单解决方案

发布时间:2025-08-14

简要描述:




当你更换源后出现以下报错信息
W: An error occurred during the signature verification. The repository is not updated and the p...

详细介绍

 

当你更换源后出现以下报错信息

W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://mirrors.aliyun.com/kali kali-rolling InRelease: The following signatures couldnt be verified because the public key is not available: NO_PUBKEY ED65462EC8D5E4C5

W: Failed to fetch http://mirrors.aliyun.com/kali/dists/kali-rolling/InRelease  The following signatures couldnt be verified because the public key is not available: NO_PUBKEY ED65462EC8D5E4C5

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

N: Repository Kali Linux changed its non-free component value from non-free to non-free non-free-firmware

N: More information about this can be found online at: https://www.kali.org/blog/non-free-firmware-transition/

说明是签名的问题。 这里只需要几步快速解决它

1. 去下载签名

wget archive.kali.org/archive-key.asc

2. 把下载的签名添加 

apt-key add archive-key.asc

这里报错其实是因为 权限太低了, 不是root权限  

使用sudo 就可以了

sudo apt-key add archive-key.asc

输入的密码为你当前用户的密码

显示ok 代表成功,去验证是否还会报错

再次输入更新源

sudo apt-get update

成功解决很简单的2步。

 

 


推荐产品

如果您有任何问题,请跟我们联系!

联系我们

Copyright © 武汉网盾科技有限公司 版权所有 备案号:鄂ICP备2023003462号-5

地址:联系地址:湖北省武汉市东湖新技术开发区武大科技园兴业楼北楼1单元2层

在线客服 联系方式 二维码

服务热线

15527777548/18696195380

扫一扫,关注我们

关闭