microsoft / WSL

Issues found on WSL
https://docs.microsoft.com/windows/wsl
MIT License
17.55k stars 823 forks source link

`wsl --install` catastrophic failure on version 2.4.4 #12324

Closed CarlosNihelton closed 4 days ago

CarlosNihelton commented 4 days ago

Windows Version

Microsoft Windows [Version 10.0.26120.2415]

WSL Version

2.4.4.0

Are you using WSL 1 or WSL 2?

Kernel Version

5.15.167.4-1

Distro Version

Ubuntu 24.04

Other Software

No response

Repro Steps

Upgrade to latest pre-release (2.4.4.0) and run wsl --install without any more arguments.

Expected Behavior

Some message about WSL being already installed or installing the default distro.

Actual Behavior

$> wsl --install
Catastrophic failure
Error code: Wsl/InstallDistro/E_UNEXPECTED

Diagnostic Logs

WslLogs-2024-11-27_14-42-07.zip

github-actions[bot] commented 4 days ago

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:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

Diagnostic information
.wslconfig found
Detected appx version: 2.4.4.0
Detected user visible error: Wsl/InstallDistro/E_UNEXPECTED
Detected user visible error: Wsl/InstallDistro/E_UNEXPECTED
Detected user visible error: Wsl/InstallDistro/E_UNEXPECTED

OneBlue commented 4 days ago

Thank you for reporting this @CarlosNihelton. This was indeed a regression in 2.4.4.

Fixed by #12326 (the manifest update might take a bit to propagate),.