WSL: WSL2 hangs on update (no output)

Version

Microsoft Windows [Version 10.0.19045.2486]

WSL Version

  • WSL 2
  • WSL 1

Kernel Version

5.10.102.1

Distro Version

Ubuntu 20.04

Other Software

No response

Repro Steps

  • Open Powershell as an admin.
  • run 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:

PS C:\WINDOWS\system32> wsl.exe --update
Installation: Windows-Subsystem für Linux

Diagnostic Logs

I created an issue with the Feedback Hub, but I am not sure it worked correctly.

About this issue

  • Original URL
  • State: open
  • Created 4 years ago
  • Reactions: 6
  • Comments: 17

Most upvoted comments

I’m having the same problem, on Window 10.0.19044 in Administrator Command Prompt.

wsl --update => hangs indefinitely at 0%

wsl --update --web-download downloaded fine, but then it hangs indefinitely on “Installing: Windows Subsystem for Linux”.

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.