Update prompt to change system hides and behavior looks like the update CLI command is hang / hung
@github-actions please change this to a "Feature Request"
Windows Version
Microsoft Windows [Version 10.0.22631.3880]
WSL Version
2.3.26.0
Are you using WSL 1 or WSL 2?
- [x] WSL 2
- [ ] WSL 1
Kernel Version
5.15.167.4-1
Distro Version
Ubuntu 22.04
Other Software
No response
Repro Steps
Run wsl --update --web-download and it finds an update, starts to install and looks as if it is stalled, hangs hung whatever. There is a generic system prompt hiding and you have to Alt+Tab to bring it to front and confirm. Then the update proceeds as normal.
Expected Behavior
Update starts and finished with no hang.
Actual Behavior
Update appears to hang, because the system prompt is hiding in the background somewhere.
Diagnostic Logs
N/A
Logs are required for review from WSL team
If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.
How to collect WSL logs
Download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\collect-wsl-logs.ps1
The script will output the path of the log file once done.
If this is a networking issue, please use collect-networking-logs.ps1, following the instructions here
Once completed please upload the output files to this Github issue.
Click here for more info on logging If you choose to email these logs instead of attaching to the bug, please send them to [email protected] with the number of the github issue in the subject, and in the message a link to your comment in the github issue and reply with '/emailed-logs'.
View similar issues
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it!
Open similar issues:
- WSL2 hangs on update (no output) (#9528), similarity score: 0.76
- Cannot run wsl --update --web-download (#12009), similarity score: 0.70
Closed similar issues:
- WSL2 update hangs up without any log info (#10943), similarity score: 0.74
- Updating Windows Subsystem for Linux to version: 2.1.5 hangs (#11313), similarity score: 0.74
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
@github-actions I would provide logs but this issue is more of a missing "feature" that also behaves like a bug. For some reason the update process does not give focus to the generic Windows system update prompt, and it hides in the background. I do not believe there would be any log activity for this because it is technically working.
This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request.
Thank you!