-
Notifications
You must be signed in to change notification settings - Fork 822
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
WSL2 hangs on update (no output) #9528
Comments
/dumps |
Hello! Could you please provide logs and process dumps to help us better diagnose your issue? To collect WSL logs and dumps, download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
The scipt will output the path of the log file once done. Once completed please upload the output files to this Github issue. Click here for more info on logging Thank you! |
Hi, |
Thank you @myz-dev. Unfortunately I don't see any dumps on that zip file. Was wsl.exe running when you captured the dumps ? Can you try capturing a dump of the hung process via task manager instead ? |
Hi, |
I am having a similar issue, occurring when closing code taht was started in a WSL terminal. I get a small window saying updatinf Code, I kill the terminal process ctrl Z. But "Updating window" remains. |
A restart will solve this. |
I have similar issue. Restart didn't help. Just infinite |
Hi, after a few weeks it worked for me again. Maybe a Windows update fixed it? The latest patch I have installed seems to be |
I'm having the same problem, on Window 10.0.19044 in Administrator Command Prompt.
|
Hi, I'm having the same problem.
WSL:
Command invocation:
Effect (polish translation):
The elevation window is shown to accept administrator rights and I granted it. Mentioned flag --web-download does not change anything. |
I also had this issue. When trying to update from 2.0.9 to 2.0.14, it would download the update and say it is installing, but there is no progress and no output. Tried multiple times. The result was always the same, no matter whether I ran the command in an elevated or non-elevated cmd or whether I shutdown WLS first or not. I then set my Window Region and Regional Format from German to English. Windows Display Language is always set to English. The WSL update then completed. The reason I tried this is that it seemed to me that the WSL display language changed from the Windows Display Language to the Windows Region setting (i.e. from English to German in my case) with one of the recent WSL updates. Of course, it might as well be normal that you need to try the update five times and that it is completely unrelated to the Windows Region settings. |
What may have helped in my case, but may also have been a placebo for impatience, was to Also from I tried this because during the update an already open WSL terminal stayed available and functional, which seemed odd. |
If you use Alt+Tab to move through the open "apps", you will see there is a prompt box asking to make changes to the system. This was causing the "hang" for me when updating WSL. |
Version
Microsoft Windows [Version 10.0.19045.2486]
WSL Version
Kernel Version
5.10.102.1
Distro Version
Ubuntu 20.04
Other Software
No response
Repro Steps
wsl.exe --update
Expected Behavior
I expect the program to terminate at some point and give me a message that tells me if the update was successful.
Actual Behavior
All I see is this output:
Diagnostic Logs
I created an issue with the Feedback Hub, but I am not sure it worked correctly.
The text was updated successfully, but these errors were encountered: