當我嘗試使用 repos https://ftp.ustclug.org/~zsj/anboxstretch Release 進行 apt update 時,它顯示錯誤:它沒有發布文件

當我嘗試使用 repos https://ftp.ustclug.org/~zsj/anboxstretch Release 進行 apt update 時,它顯示錯誤:它沒有發布文件

我寫了命令:apt update使用儲存庫:https://ftp.ustclug.org/~zsj/anbox在 kali linux amd64 2017.2 中拉伸發布',它顯示錯誤:E:存儲庫'https://ftp.ustclug.org/~zsj/anboxstretch Release'沒有Release檔。 N:從這樣的儲存庫進行更新無法安全地完成,因此預設會被停用。 N:有關儲存庫建立和使用者配置詳細信息,請參閱 apt-secure(8) 線上說明頁。

請幫忙

答案1

從您的sources.list 中刪除stretch 儲存庫。

您的文件中應該只有以下行/etc/apt/sources.list

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

您可以使用:

echo "deb http://http.kali.org/kali kali-rolling main non-free contrib" > /etc/apt/sources.list

相關內容