Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows Insider Preview update causes WSL to fail to run and prevents reinstallation [Version 10.0.26100.1] #11495

Open
1 of 2 tasks
tanaous opened this issue Apr 22, 2024 · 2 comments
Assignees
Labels
msix Installer issue.

Comments

@tanaous
Copy link

tanaous commented Apr 22, 2024

Windows Version

Microsoft Windows [Version 10.0.26100.1]

WSL Version

0.0.0.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

No response

Distro Version

No response

Other Software

No response

Repro Steps

wsl --uninstall
dism /online /disable-feature /featurename:Microsoft-Windows-Subsystem-Linux /Remove
dism /online /disable-feature /featurename:VirtualMachinePlatform /Remove
restart
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
restart
wsl --install

Expected Behavior

I originally had a normally functioning WSL environment with Ubuntu as the operating system. However, after I upgraded to the latest Windows Insider Preview (I have been on this channel for a while without any issues), WSL failed to start, indicating that I needed to reinstall it (providing an MSI file for WSL2). But the installation encountered an error (even when the required MSI file was provided). So, I used the command wsl --uninstall to remove the WSL component, disabled the Linux subsystem feature, and restarted. After re-enabling the Linux subsystem and virtual machine feature components, and another restart, the installation using the command wsl --install failed again. The issue is reproducible. The logs from the reproduction process are in the attachment.

Actual Behavior

PS C:\WINDOWS\system32> wsl --install
Downloading: Windows Subsystem for Linux 2.1.5
Installing: Windows Subsystem for Linux 2.1.5
Catastrophic failure
PS C:\WINDOWS\system32>

====="Original Output: Chinese Version"=====
PS C:\WINDOWS\system32> wsl --install
正在下载: 适用于 Linux 的 Windows 子系统 2.1.5
正在安装: 适用于 Linux 的 Windows 子系统 2.1.5
灾难性故障
PS C:\WINDOWS\system32>

Diagnostic Logs

WslLogs-2024-04-22_20-30-54.zip

Copy link

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
Found '/feature', adding tag 'feature'
.wslconfig found
Appx package is not installed

@OneBlue OneBlue added msix Installer issue. and removed feature labels Apr 22, 2024
@OneBlue
Copy link
Collaborator

OneBlue commented Apr 22, 2024

@pmartincic: Looks like this user is hitting the MSIX install issue. This would be a good test for the installer fixes you're working on.

Microsoft.Windows.Subsystem.Lxss	LxssException	04-22-2024 05:31:30.229	"	"	"Code: 	
File: 	D:\a\1\s\src\windows\wslinstall\DllMain.cpp
FunctionName: 	
HRESULT: 	0x80070032
Line number: 	46
Message: 	Source: unsigned int __cdecl InstallMsix(unsigned long)() - D:\a\1\s\src\windows\wslinstall\DllMain.cpp:505
Type: 	0
wslVersion: 	2.1.5.0"				11452	29356	2		2e99a5db-94ac-000b-1d61-9c2eac94da01		

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
msix Installer issue.
Projects
None yet
Development

No branches or pull requests

3 participants