apt-get 更新はエラーを返します。

apt-get 更新はエラーを返します。

このコマンドを実行すると、以下が返されます。

apt-get update
Hit:1 http://kali.download/kali kali-rolling InRelease              
Ign:2 https://download.docker.com/linux/debian kali-rolling InRelease
Err:3 https://download.docker.com/linux/debian kali-rolling Release
  404  Not Found [IP: 65.9.109.36 443]
Reading package lists... Done
E: The repository 'https://download.docker.com/linux/debian kali-rolling Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

私のもの/etc/apt/sources.list

# See https://www.kali.org/docs/general-use/kali-linux-sources-list-repositories/
deb http://http.kali.org/kali kali-rolling main contrib non-free

# Additional line for source packages
# deb-src http://http.kali.org/kali kali-rolling main contrib non-free
# deb-src [arch=amd64] https://download.docker.com/linux/debian kali-rolling stable
# deb [arch=amd64] https://download.docker.com/linux/ubuntu ubuntu stable
# deb-src [arch=amd64] https://download.docker.com/linux/ubuntu kali-rolling stable
# deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable
# deb-src [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable

ベストアンサー1

/etc/apt/sources.list.d誤ったリポジトリ定義を含むファイルがある可能性があります。エラーを削除すると再び表示されません。

おすすめ記事