![当我尝试使用 apt-get update 时。这种情况发生](https://linux22.com/image/134428/%E5%BD%93%E6%88%91%E5%B0%9D%E8%AF%95%E4%BD%BF%E7%94%A8%20apt-get%20update%20%E6%97%B6%E3%80%82%E8%BF%99%E7%A7%8D%E6%83%85%E5%86%B5%E5%8F%91%E7%94%9F.png)
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