microsoft / WSL

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

wsl update catastrophic failure #11862

Closed amnapa closed 1 month ago

amnapa commented 1 month ago

Windows Version

Microsoft Windows [Version 10.0.26100.1301]

WSL Version

0.0.0.0

Are you using WSL 1 or WSL 2?

Kernel Version

No response

Distro Version

Ubuntu 22.04

Other Software

No response

Repro Steps

Trying to update wsl to version 2.2.4:

C:\Windows\System32>wsl --update

Downloading: Windows Subsystem for Linux 2.2.4

Installing: Windows Subsystem for Linux 2.2.4

Catastrophic failure

Expected Behavior

It should update WSL2 to version 2.2.4

Actual Behavior

Catastrophic failure

Diagnostic Logs

WslLogs-2024-07-31_14-18-54.zip

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

amnapa commented 1 month ago

I Fixed the issue by removing the WSL package in Power Shell and installed it with msixbundle.

  1. Remove-AppxPackage MicrosoftCorporationII.WindowsSubsystemForLinux_2.2.4.0_x64__8wekyb3d8bbwe
  2. Download msixbundle from here and install it
amnapa commented 1 month ago

closed