WSL: Unable to run WSL: Catastrophic Failure
Windows Version
Microsoft Windows [Version 10.0.26080.1201]
WSL Version
0.0.0.0
Are you using WSL 1 or WSL 2?
- WSL 2
- WSL 1
Kernel Version
0.0.0.0
Distro Version
No response
Other Software
No response
Repro Steps
Run wsl --install or wsl--update and they both result in Catastrophic failure messages in the terminal.
Expected Behavior
wsl installs/ updates without issue.
Actual Behavior
Unable to use wsl - unable to run any commands requested by this form - --status or --version for example.
Terminal output:
$ wsl --update
Downloading: Windows Subsystem for Linux 2.1.5
Installing: Windows Subsystem for Linux 2.1.5
Catastrophic failure
Diagnostic Logs
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 31
My other question is, do you notice that if you install via downloading the msix directly and using
add-appxpackagethat it works?You’ll have to do this first.
I also had this issue in #11327. I found that installing the msixbundle release instead of the MSI was a workaround for this issue, and it allowed me to use WSL again.
If it doesn’t work on the first try you can try downloading the MSI release, running
msiexec /uninstall wsl.2.1.5.0.x64.msito fully uninstall WSL, and then reinstalling the msixbundle.👍
Thanks for the suggestion, but this was already discounted.
Sorry for the hangup. I’m testing a fix that I think will avoid us getting in this state, but I’m not sure about getting out of it.
If you still have this environment can you collect logs via the below script that github won’t let me add as an attachment?
@kieronlanning, reproducing something similar, that is what I’m trying to figure out. Ideally it’ll end up in the installer so that no manual steps are needed; we’ll see what happens.
Oh I don’t think this is you, Just gathering logs from this and another bug to throw at the appx folks.