sudo apt update is Failed to fetch in win10 2004 with WSL 2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu WSL |
New
|
Undecided
|
Unassigned |
Bug Description
```
Windows build number: Microsoft Windows [Version 10.0.19041.508]
Ubuntu Distribution version: [Ubuntu 20.04]
wsl version: [2]
UWP Installed: [Ubuntu]
UWP version of Ubuntu: [2004.2020.812.0]
Ubuntu release version: [Ubuntu 20.04]
```
Steps to reproduce
1. follow the steps to [install Install Windows Subsystem for Linux 2](https:/
2. at the end launch wsl ubuntu bash and do update :
`sudo apt update`
output
```none
Err:1 http://
Temporary failure resolving 'archive.
Err:2 http://
Temporary failure resolving 'security.
Err:3 http://
Temporary failure resolving 'archive.
Err:4 http://
Temporary failure resolving 'archive.
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Some index files failed to download. They have been ignored, or old ones used instead.
```
Hi Yves.
This is most often seen when there is third-party security or networking software in the mix.
Do you have something like Kaspersky or a VPN client running?
If so, please disable and try again.
Hayden