我正在尝试更新我的 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
使用命令导航到包含破坏 Kali 的外部包的目录cd /etc/apt/resources.d
。
键入ls
以列出目录中的包。
使用 依次删除包
sudo rm "package name"
。