在 Ubuntu 20.04 上运行“sudo apt update”时出现 Kali Linux 存储库的安全错误

在 Ubuntu 20.04 上运行“sudo apt update”时出现 Kali Linux 存储库的安全错误

我一直尝试运行sudo apt update但得到这个似乎并未真正更新的输出:

Hit:1 https://repo.steampowered.com/steam stable InRelease

Hit:2 http://dl.google.com/linux/chrome/deb stable InRelease
               
Hit:3 http://packages.microsoft.com/repos/vscode stable InRelease
          
Get:4 http://kali.download/kali kali-rolling InRelease [30.5 kB]
        
Err:4 http://kali.download/kali kali-rolling InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY ED444FF07D8D0BF6
Reading package lists... Done
W: GPG error: http://kali.download/kali kali-rolling InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY ED444FF07D8D0BF6
E: The repository 'http://http.kali.org/kali kali-rolling 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.

它似乎实际上并没有更新(除非它已经更新了,但我就是看不到它),我不知道是什么导致了这个问题。我正在运行 AMD64 版本的 Ubuntu 20.04.1 LTS。有没有人能解释一下这是什么问题,甚至能解决这个问题?

答案1

我昨晚几乎遇到了同样的问题。我运行了 sudo apt-get update 并查找不再使用的存储库,删除它们,一切似乎都正常。

相关内容