之后dist-upgrade
我无法更新 Kali 并sudo apt-get update
返回此错误:
Err:1 http://http.kali.org/kali kali-rolling InRelease
Connection failed [IP: 192.99.200.113 80]
Reading package lists... Done
W: Failed to fetch http://http.kali.org/kali/dists/kali-rolling/InRelease Connection failed [IP: 192.99.200.113 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.
Run Code Online (Sandbox Code Playgroud)
我在 Kali 中搜索了更新错误,但找不到此错误。
这是我的sources.list
文件:
#
#deb cdrom:[Debian GNU/Linux 2017.3 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20171109-13:49]/ kali-rolling contrib main non-free
#deb cdrom:[Debian GNU/Linux 2017.3 _Kali-rolling_ - Official Snapshot amd64 …
Run Code Online (Sandbox Code Playgroud) 这是我的 sources.list 目前的样子:
deb http://ftp.us.debian.org/debian/ jessie main
deb-src http://ftp.us.debian.org/debian/ jessie main
deb http://security.debian.org/ jessie/updates main contrib
deb-src http://security.debian.org/ jessie/updates main contrib
# jessie-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ jessie-updates main contrib
deb-src http://ftp.us.debian.org/debian/ jessie-updates main contrib
Run Code Online (Sandbox Code Playgroud)
如您所见,存储库是该US
区域的镜像。如何自动将其更改为另一个存储库区域,而无需手动更改 sources.list?
我只知道如何删除旧AU
存储库并手动将其更改为其他区域存储库,例如存储库或其他存储库。
我知道我们可以按照以下格式更改 Debian 使用的 repo 区域:
http://ftp.[Region].debian.org/debian/
Run Code Online (Sandbox Code Playgroud)
但是不遵循默认格式的存储库如何:kartolo.sby.datautama.net.id
,这是来自 的存储库Indonesia
?我如何将其更改为此处列表中的一个?