microsoft / WSL

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

Generic error trying to update or install WSL #11767

Open CaG21 opened 4 months ago

CaG21 commented 4 months ago

Windows Version

Microsoft Windows [Version 10.0.26100.1150]

WSL Version

0.0.0.0

Are you using WSL 1 or WSL 2?

Kernel Version

No response

Distro Version

No response

Other Software

No response

Repro Steps

After I tried to update to update the WSL version, WSL stopped to work and it does not allow me to re-install it. Specifically, after I run the command wsl.exe --update, my computer downloaded and started correctly the update to the version 2.2.4, but the update was not completed with a generic Unrecoverable error. From that moment on, WSL does not work anymore and I am not able to do anything. More specifically:

  1. The command wsl (or if I try to open any installed ditribution) gives as output It is necessary to update Windows Subsystem for Linux at the latest version. To start the update, run wsl.exe --update. For information please visit https://aka.ms/wslinstall
  2. The command wsl --status returns Windows Subsystem for Linux is not installed [...]
  3. The commands wsl.exe --update and wsl.exe --install start the download and the installation, but they gives the same generic Unrecoverable error
  4. I tried to update WSL kernel with the MSI package, but the installer returns the error This update only applies to machines with the Windows Subsystem for Linux. The troubleshooting suggests to check if WSL2 is supported, if WSL is enabled and to reboot. I checked (but, of course, it was unnecessary since WSL2 was working like a charm) and rebooted, nothing changed.
  5. I tried to install from scratch the WSL. I disable the WSL feature, reboot, enabled again, reboot, and then used the MSI package (from Microsoft WSL GitHub repository) to install th WSL. The installer returned the error Impossible to install the MSIX package (error: request not supported). None of the behaviour listed above changed.

Attached there is the log after the wsl.exe --install command.

PS: Outputs are not the one actually displayed but a translation from Italian.

Expected Behavior

WSL to install or update

Actual Behavior

Generic Unrecoverable error [Original output in Italian is Errore irreparabile

Diagnostic Logs

WslLogs-2024-07-10_16-07-06.zip

github-actions[bot] commented 4 months 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
Appx package is not installed
Found evidence of MSIX install error: 0x80070032, adding msix tag