鱼C论坛

 找回密码
 立即注册
查看: 3754|回复: 0

WSL2 Ubuntu22.04 在 apt-get 更新源后就卡在Fetched xxx kb in 1s.

[复制链接]
发表于 2022-12-22 14:44:09 | 显示全部楼层 |阅读模式
5鱼币
WSL2 Ubuntu22.04 在 apt-get 更新源后就卡在Fetched xxx kb in 1s.





备注:①之前我有把WSL改成过官方的systemd;②/etc/hosts文件内容为
  1. # This file was automatically generated by WSL. To stop automatic generation of this file, add the following entry to /etc/wsl.conf:
  2. # [network]
  3. # generateHosts = false
  4. 127.0.0.1        localhost
  5. 127.0.1.1        DESKTOP-T7Q681R
  6. 185.199.110.133        raw.githubusercontent.com

  7. # The following lines are desirable for IPv6 capable hosts
  8. ::1     ip6-localhost ip6-loopback
  9. fe00::0 ip6-localnet
  10. ff00::0 ip6-mcastprefix
  11. ff02::1 ip6-allnodes
  12. ff02::2 ip6-allrouters
复制代码

屏幕截图_20221222_144302.png
小甲鱼最新课程 -> https://ilovefishc.com
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Archiver|鱼C工作室 ( 粤ICP备18085999号-1 | 粤公网安备 44051102000585号)

GMT+8, 2025-4-22 22:26

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表