Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WSL 2 can't update #4576

Closed
Wayc0des-Land opened this issue Oct 6, 2019 · 3 comments
Closed

WSL 2 can't update #4576

Wayc0des-Land opened this issue Oct 6, 2019 · 3 comments

Comments

@Wayc0des-Land
Copy link

Wayc0des-Land commented Oct 6, 2019

Hi Team,

Please fill out the below information:

  • Your Windows build number: Microsoft Windows [Version 10.0.18995.1]

  • What you're doing and what's happening: (Copy&paste the full set of specific command-line steps necessary to reproduce the behavior, and their output. Include screen shots if that helps demonstrate the problem.)

I tried to Update Use "sudo apt update"
But still connection to server

Err:1 http://mirror.unej.ac.id/ubuntu bionic InRelease
Could not connect to mirror.unej.ac.id:80 (103.241.205.8), connection timed out Could not connect to mirror.unej.ac.id:80 (103.241.205.205), connection timed out Could not connect to mirror.unej.ac.id:80 (103.241.206.206), connection timed out
Err:2 http://mirror.unej.ac.id/ubuntu bionic-updates InRelease

  • What's wrong / what should be happening instead:

C:\WINDOWS\system32> wsl -l -v
NAME STATE VERSION

  • Ubuntu Running 2

This file was automatically generated by WSL. To stop automatic generation of this file, add the following entry to /$# [network]
generateResolvConf = false
nameserver 172.18.224.1

Yesterday when i used WSL 1, everything is fine

Can i configure on nameserver? So, i can update my distro?

Thank

@Wayc0des-Land
Copy link
Author

Wayc0des-Land commented Oct 6, 2019

And when I tried change from WSL 2 to WSL 1

PS C:\WINDOWS\system32> wsl --set-version Ubuntu 1
Conversion in progress, this may take a few minutes...
The network connection was aborted by the local system.

@Wayc0des-Land
Copy link
Author

ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.19.103.62 netmask 255.255.240.0 broadcast 172.19.111.255
inet6 fe80::215:5dff:fef4:b16f prefixlen 64 scopeid 0x20
ether 00:15:5d:f4:b1:6f txqueuelen 1000 (Ethernet)
RX packets 299 bytes 32854 (32.8 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 131 bytes 10922 (10.9 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 1000 (Local Loopback)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

ip route
default via 172.19.96.1 dev eth0
172.19.96.0/20 dev eth0 proto kernel scope link src 172.19.103.62

@Wayc0des-Land
Copy link
Author

Update :

resolved by disable Firewall on Avast Premium Security and Uninstall Docker Windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant