Kali Linux 未更新

Kali Linux 未更新

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

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文件如下:

deb http://http.kali.org/kali kali-rolling main contrib non-free

答案1

resources.list不是一个 apt 检查的文件,除非 Kali 做了什么壮观地失策。

正确的文件是/etc/apt/sources.list/,更新的版本也会查找匹配的文件/etc/apt/sources.list.d/*.list

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

修复您的存储库设置以仅使用 kali 链接,然后重试。

或者,请记住卡利是不是适合一般桌面使用并使用适当的面向桌面的系统重新安装。

相关内容