-
-
Notifications
You must be signed in to change notification settings - Fork 580
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
Windows Subsystem for Linux (WSL2) issues #43
Comments
Hm... Strange. Thanks for the report. |
I tried enabling the disabled optional windows features and still the same. Looks like it has something to do with the network adapter or perhaps the svchost grouping? |
Hey @farag2, i think i might have found the culprit. Line #825 Summary: No network if %temp% is moved. Check the issue I linked below. |
@ArcadioN09, LOL. You made me installing a VM and test. But I wasn't able to reproduce. Restart. You can see that %temp% folder has been changed And all seems OK. |
@farag2 , Just tested it by commenting out the lines #827 to #842. And it works perfectly now. That indeed seems to be the issue for me running WSL2. Did you run WSL2 or just a regular VM through a program like VMware? EDIT: Upon further research, When we change our temp directory to Possible Fixes:
(This disables the check for the swapFile)
(All these fixes are mutually exclusive, so just choosing one should work) |
@ArcadioN09, may the reason is that firstly I Installed WSL2 and then change the %temp% folder? Need more tests... |
@ArcadioN09, where is the default location of |
I tested using two orders, Order 1
Order 2
I think once the script is run, a reboot or |
is the default location for the Could you please run the following command in cmd or powershell and tell me what you see?
|
At last installed WSL2. For a long time I did not use WSL. So had to update Linux kernal and
now
And as I can see even %temp% changed to I'm using Hyper-V only. |
I’m glad we figured out the issue. Feel free it mark the issue as closed. |
Because you're using VMWare? |
As I pointed out earlier in one of my replies, WSL2 looks for the I have posted the solutions/work-arounds above. |
Seems microsoft/WSL#5437 (comment) has been fixed in the 20185 build. |
I've tested, and already fixed it many weeks ago. :) |
After running the script, WSL2 running Ubuntu 20.04, doesn't seem to be connected to the internet.
Steps to reproduce:
$ sudo apt-get update
$ sudo apt-get install build-essential checkinstall
(Issue starting here)
$ sudo apt-get update
$ sudo apt-get install build-essential checkinstall
(Figure 1: Running
$ sudo apt-get update
)(Figure 2: VScode complaining about the same, bottom right corner )
(Figure 3: Running
$ sudo apt-get install build-essential checkinstall
)The text was updated successfully, but these errors were encountered: