当我尝试使用 apt-get update 时。这种情况发生

当我尝试使用 apt-get update 时。这种情况发生
Err:1 http://your.repo.domain/repository kali-rolling InRelease
  Could not resolve 'your.repo.domain'
Ign:2 http://dl.google.com/linux/chrome/deb stable InRelease                   
Hit:3 http://dl.google.com/linux/chrome/deb stable Release                     
Ign:4 http://download.opensuse.org/repositories/home:/moritzmolch:/gencfsm/Debian_9.0  InRelease
Hit:6 http://download.opensuse.org/repositories/home:/moritzmolch:/gencfsm/Debian_9.0  Release
Hit:7 http://ftp.yzu.edu.tw/Linux/kali kali-rolling InRelease
Reading package lists... Done
W: Failed to fetch http://your.repo.domain/repository/dists/kali-rolling/InRelease  Could not resolve 'your.repo.domain'
W: Some index files failed to download. They have been ignored, or old ones used instead.

答案1

Kali Linux 文档说:

Kali Linux 安装损坏的最常见原因是遵循非官方建议,特别是使用非官方存储库任意填充系统的sources.list 文件。以下文章旨在阐明sources.list 中应存在哪些存储库以及何时应使用它们。

添加到 Kali resources.list 文件中的任何其他存储库很可能会破坏您的 KALI LINUX 安装。

来源:https://docs.kali.org/general-use/kali-linux-sources-list-repositories

相关内容