首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Kali Linux不更新

Kali Linux不更新
EN

Unix & Linux用户
提问于 2020-10-19 08:08:10
回答 1查看 1K关注 0票数 0

我正在尝试更新我的kali版本,但是每当我尝试执行sudo apt update命令时,它都会给出以下输出:

代码语言:javascript
复制
Ign:1 http://ppa.launchpad.net/micahflee/ppa/ubuntu groovy InRelease
Get:2 http://archive.ubuntu.com/ubuntu xenial InRelease [247 kB]                                                                                           
Hit:3 http://dl.google.com/linux/chrome/deb stable InRelease                                                                                                      
Ign:4 http://ppa.launchpad.net/zeehio/libxp/ubuntu groovy InRelease                                                                                               
Hit:5 https://desktop-download.mendeley.com/download/apt stable InRelease                                                                   
Err:7 http://ppa.launchpad.net/micahflee/ppa/ubuntu groovy Release                                                              
  404  Not Found [IP: 91.189.95.83 80]
Err:8 http://ppa.launchpad.net/zeehio/libxp/ubuntu groovy Release                      
  404  Not Found [IP: 91.189.95.83 80]
Hit:6 http://kali.download/kali kali-rolling InRelease                 
Err:2 http://archive.ubuntu.com/ubuntu xenial InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/micahflee/ppa/ubuntu groovy Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://ppa.launchpad.net/zeehio/libxp/ubuntu groovy Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://archive.ubuntu.com/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
E: The repository 'http://archive.ubuntu.com/ubuntu xenial InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

我尝试过更新我的/etc/apt/resources.list文件,但是仍然存在相同的问题,我甚至不知道输出中这些ubuntu消息是什么。现在,resources.list文件如下:

代码语言:javascript
复制
deb http://http.kali.org/kali kali-rolling main contrib non-free
EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2020-10-19 08:50:54

resources.list不是一个适当检查的文件,除非卡利做了一些非常不明智的事情。

正确的文件是/etc/apt/sources.list/,更近期的版本也将查找与/etc/apt/sources.list.d/*.list匹配的文件。

您正在展示的输出表明,apt试图从多个Ubuntu存储库中读取数据,并抛出一系列错误,因为它在其信任列表中没有相应的GPG键--这是不应该的,因为Kali不是Ubuntu,并且试图将其中一个安装到另一个库中会导致各种混乱。

将存储库设置修复为只使用kali链接,然后再试一次。

另外,请记住,卡利而非用于一般桌面使用和重新安装有一个正确的桌面导向系统。

票数 2
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/615201

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档