![apt-get update を使用しようとすると、次のエラーが発生します](https://rvso.com/image/134428/apt-get%20update%20%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%82%88%E3%81%86%E3%81%A8%E3%81%99%E3%82%8B%E3%81%A8%E3%80%81%E6%AC%A1%E3%81%AE%E3%82%A8%E3%83%A9%E3%83%BC%E3%81%8C%E7%99%BA%E7%94%9F%E3%81%97%E3%81%BE%E3%81%99%20.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 の source.list ファイルにリポジトリを追加すると、KALI LINUX のインストールが壊れる可能性が高くなります。
ソース:https://docs.kali.org/general-use/kali-linux-sources-list-repositories