WSL 2 上的 Kali Linux 尝试升级时超时

WSL 2 上的 Kali Linux 尝试升级时超时

WSL 2 上的 Kali Linux 尝试升级时超时

我正在尝试安装 Kali Linux,以便我可以用笔记本电脑进行 Hack the Box 挑战。

我遵循 Kali Linux 的安装和设置指南网络查克在YouTube上。

我已经在 WSL 2 上安装并运行 Kali Linux 应用程序。

当我尝试更新 Kali 时,我收到超时错误消息。为什么会这样?

┌──(me!!!!㉿DESKTOP-LHRQ2R4)-[/etc/apt]
└─$ sudo apt update && sudo apt upgrade -y
Ign:1 http://http.kali.org/kali kali-rolling InRelease
Ign:1 http://http.kali.org/kali kali-rolling InRelease
Ign:1 http://http.kali.org/kali kali-rolling InRelease
Err:1 http://http.kali.org/kali kali-rolling InRelease
  Could not connect to http.kali.org:80 (192.99.200.113), connection timed out
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
W: Failed to fetch http://http.kali.org/kali/dists/kali-rolling/InRelease  Could not connect to http.kali.org:80 (192.99.200.113), connection timed out
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

我尝试过

  1. https://forums.kali.org/- 今天似乎还没有出现……
  2. 我使用网线直接插入家用路由器
  3. 我尝试过通过手机热点
  4. 我可以浏览http://http.kali.org/kali这将带我进入标题为“/kali 索引”的页面
  5. 我已经确认它正在寻找的 InRelease 文件位于我认为更新正在查看的目录中 -http://http.kali.org/kali/dists/kali-rolling/
  6. 回滚到 WSL 1 并尝试
  7. 卸载,通过 Microsoft 应用商店重新安装 Kali
  8. 各种笔记本电脑重启
  9. 我的 /etc/apt/sourcelist 文件如下所示

德布http://http.kali.org/kalikali-rolling 主要非自由贡献

相关内容