-
Notifications
You must be signed in to change notification settings - Fork 859
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
Unable to upgrade/uninstall WSL and unable to install any distro #12507
Comments
Failed to parse logs. Unexpected file: .wslconfig 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 solved the uninstallation issue by following the steps [here](#7287), and now I have reinstalled the latest version of WSL. The output of
However, unfortunately, I still cannot install Ubuntu successfully. The output when running
|
Alright, I found the solution to the Ubuntu installation issue in this comment |
Windows Version
Microsoft Windows [Version 10.0.26100.2894]
WSL Version
2.0.9.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.133.1-1
Distro Version
No response
Other Software
Sorry, I am not an English user. The following content has been summarized and translated by ChatGPT.
Repro Steps
wsl --install
.wsl --update
and check the version withwsl --version
.2.0.9.0
despite the update attempt.wsl --update
again later, receive:wsl --update --web-download
, but the same output is produced.Control Panel -> Uninstall a Program
and selecting WSL.Expected Behavior
wsl --install
.wsl --update
.Actual Behavior
wsl --install
fails with the errorWslRegisterDistribution failed with error: 0x80071772
.wsl --update
does not update the version and remains at2.0.9.0
.wsl --update
later results in a 403 Forbidden error (Wsl/UpdatePackage/0x80190193
).wsl.msi
file, which prevents proper removal of WSL.Screenshots of the uninstallation issue:
Diagnostic Logs
WslLogs-2025-01-27_22-18-31.zip
Regarding the troubleshooting steps provided by MS , I have ensured that I’ve tried all of them. Everything was working fine before, but recently I encountered the issue after needing to use it again. Perhaps the issue arose after I upgraded from Windows 11 23H2 to 24H2 about a week ago? However, I suspect it’s more likely caused by a cleanup software deleting the
.msi
file. The missing.msi
file has been preventing me from upgrading or uninstalling, and it has caused repeated issues. Unfortunately, I just can't find the correspondingwsl.msi
file this time.The text was updated successfully, but these errors were encountered: