![當我嘗試使用 apt-get update 時。這種情況發生](https://rvso.com/image/134428/%E7%95%B6%E6%88%91%E5%98%97%E8%A9%A6%E4%BD%BF%E7%94%A8%20apt-get%20update%20%E6%99%82%E3%80%82%E9%80%99%E7%A8%AE%E6%83%85%E6%B3%81%E7%99%BC%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