-
Notifications
You must be signed in to change notification settings - Fork 823
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
WSL failed to update itself on Build 26100.560 with error code: Wsl/CallMsi/Install/E_UNEXPECTED #11673
Comments
View similar issuesPlease 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:
Diagnostic information
|
1 similar comment
View similar issuesPlease 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:
Diagnostic information
|
نعم |
I apologize for bringing up this old GitHub issue, but it appears there haven’t been updates for some time. Any insights or progress on this specific problem? |
Hi, I had this exact error message and problem after upgrading Windows 10 to 11, but I think I fixed it today. After two days of trying to uninstall/install/update in every possible manner, including a manual update of the kernel, I decided to try removing as much of WSL as possible to see if it worked before formatting. I'm not sure if a specific action led to it working or if it was a combination of actions. This is what I did:
Please note that this was a hail mary on my part, and I suppose it could have messed something up just as easily.. |
WJelvin Confirmed your method works but I tweaked a bit on my own.
DISM.EXE /online /disable-feature /featurename:Microsoft-Windows-Subsystem-Linux /norestart
Stop-Service WSLService
Get-ChildItem -Path "$env:USERPROFILE\AppData\Local\Microsoft\WindowsApps\MicrosoftCorporationII.WindowsSubsystemForLinux_8wekyb3d8bbwe" -Recurse | Remove-Item -Force
Get-ChildItem -Path "C:\Program Files\WSL" -Recurse | Remove-Item -Force
wsl --update
# Or if you are located in China and hard to access GitHub
# Grab latest release at https://github.com/microsoft/WSL/releases
# With your favorite mirror For your installed distro you need to backup your original install by temporarily copy/rename data folder located at |
Looking at the logs, it looks like the WSL package is in a bad state. Does manually installing the latest MSI solve the issue ? |
This issue has been automatically closed since it has not had any author activity for the past 7 days. If you're still experiencing this issue please re-file it as a new issue. Thank you! |
Windows Version
Microsoft Windows [Version 10.0.26100.560]
WSL Version
Not applicable
Are you using WSL 1 or WSL 2?
Kernel Version
No response
Distro Version
No response
Other Software
No response
Repro Steps
Expected Behavior
Instead of bringing up error code, wsl shall upgrade itself without problems.
Actual Behavior
Tried manually upgrade with https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi, failed immediately with error "This update only applies to machines with the Windows Subsystem for Linux". Tried disabling-and-reenabling Virtual Machine Platform and Windows Subsystem for Linux but the problem persists.
Diagnostic Logs
WslLogs-2024-06-09_20-48-36.zip
The text was updated successfully, but these errors were encountered: