记录WSL2 with Clash “sudo apt update”失败的网络问题,及解决方法。问题描述WSL2(Ubuntu20.04),安装完成后,运行“sudo apt update”,一直连接网络失败,报错如下: Err:1 http://archive.ubuntu.com/ubuntu focal InRelease Connection ...
先说第一种, 从远程仓库pull. 因为大家都懂的原因, 在国内使用docker需要切换一下国内源, 这里要pull一个镜像, 最好先配置一下国内的加速器, 具体教程请百度; 配置完之后就可以使用docker pull ubuntu来拉取官方的标准ubuntu镜像了, 这样是默认pull最新版, 当然你也可以pull不同的版本, 比如docker pull ubuntu:...
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease Unable to connect to archive.ubuntu.com:http: W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease Unable to connect to archive.ubuntu.com:http: W: Failed to fetch http://...
WSL无法正常工作: 如果更新后WSL无法正常工作,可以尝试关闭WSL(通过PowerShell或CMD运行wsl --shutdown),然后在Windows中运行注册表编辑器。找到\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Lxss,找到其中具有Ubuntu20.04LTS DistributionName的键。将Ubuntu20.04LTS更改为Ubuntu-20.042。 互联网...
WSL2 Ubuntu apt-get update失败 情况: 这个问题在github上也有讨论:https://github.com/microsoft/WSL/issues/4342 不过经过我的尝试,是DNS问题,这是默认的配置: 这个配置来自windows为WSL的虚拟ip地址: 解决方案是将DNS server更换为google的8.8.8.8。
I'm getting an network error while updateing (sudo apt update) on WSL.prettyprint 复制 root@DESKTOP-VFH426K:~# apt update Err:1 http://archive.ubuntu.com/ubuntu bionic InRelease Connection failed [IP: 91.189.88.161 80] Err:2 http://security.ubuntu.com/ubuntu bionic-security InRelease ...
Ubuntu 18.04 WSL Please help fix this sudo apt-get update [sudo] password for guido: Err:1 http://archive.ubuntu.com/ubuntu bionic InRelease Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Network is unreachable) Cannot initiate the conn...
ITNOA Hi As I know Ubuntu 2x.0x app in Microsoft store exists for users to want using specific ubuntu version on WSL and Ubuntu app in Microsoft store exists for seamless upgrading and updating. But my problem is why Ubuntu app not updat...
Install Windows Subsystem for Linux with the command, wsl --install. Use a Bash terminal on your Windows machine run by your preferred Linux distribution - Ubuntu, Debian, SUSE, Kali, Fedora, Pengwin, Alpine, and more are available.
I am using ubuntu 20.04 on wsl on my pc and I get this error 503 when I use the command sudo apt-get update, I need help, I have been getting this error for many days. I have used other DNS, user agent, used some ubuntu mirrors and the error…