當我嘗試使用 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

相關內容