apt-getを使用して更新できません:リポジトリ...公開されたファイルはありません。

apt-getを使用して更新できません:リポジトリ...公開されたファイルはありません。

Acer Predator Helios 300とWindows 10にKaliをインストールしました。資格情報を入力した後、ログイン画面が停止するため、ログイン画面を通過できません。だからグーグルをしてみると、一部のグラフィックドライバに問題があることがわかり、ログイン画面でctrl+alt+f2を押して編集して端末を取得しました。私のsource.listファイルは次のとおりです

#deb cdrom:[Debian GNU/Linux 2018.4 _Kali-rolling -  Official Snapshot amd64 LIVE/INSTALL Binary 20181016-16:07] kali-last-snapshot contrib main non-free
#This system was installed using small removable media
#(e.g. netinst, live or single CD). The matching "deb cdrom"
#entries were disabled at the end of the installation process
#For information about how to configure apt package sources
#see the sources.list(5) manual

だから私はaptを更新し、Nvidiaドライバをインストールするためにsource.listファイルにこの行を追加しました。

deb http://http.kali.org/kali/dists/kali-rolling main contrib non-free

apt-get updateを実行すると、次のように表示されます。

Ign:1 http://http.kali.org/kali/dists/kali-rolling main InRelease
Err:2 http://http.kali.org/kali/dists/kali-rolling main Release
 404 Not Found [IP: 192.99.200.113 80]
Reading package lists... Done
E: The repository 'http://http.kali.org/kali/dists/kali-rolling main Release' does not have a release file.
N: Updating from suck 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.

ベストアンサー1

あなたは読みたいと思うでしょう05. Kali Linuxの使用/ Kali resources.listリポジトリ、ファイルの正しいエントリを提供しますsources.list

deb http://http.kali.org/kali kali-rolling main non-free contrib

おすすめ記事