-
Notifications
You must be signed in to change notification settings - Fork 832
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
Can't update WSL #12140
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! Closed similar issues:
Diagnostic information
|
Tried Microsoft fixit tool https://support.microsoft.com/en-us/topic/fix-problems-that-block-programs-from-being-installed-or-removed-cca7d1b6-65a9-3d98-426b-e9f927e1eb4d removed the package "Windows Subsystem For Linux". After that WSL features seem to still function with previous version of 2.2.4, even if I have installed WSL package from the Microsoft Store with latest version. However, doing I'm getting this reported versions:
So it looks like it resolved the issue, thanks! |
Ok great ! Closing since the issue is resolved. |
Does this delete the data associated with your WSL? After using this tool and updating WSL, is your WSL data still there? |
@DanielCr2020 you should do a backup, but I remember it did not remove wsl data/distributions |
Windows Version
Microsoft Windows [Version 10.0.26100.1882]
WSL Version
2.2.4.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.153.1-microsoft-standard-WSL2
Distro Version
No response
Other Software
No response
Repro Steps
wsl --shutdown
wsl --update
Expected Behavior
WSL updated from 2.2.4 to 2.3.24, verify using
wsl --version
Actual Behavior
Checking for updates.
Updating Windows Subsystem for Linux to version: 2.3.24.
The older version of Windows Subsystem for Linux cannot be removed. Contact your technical support group.
Update failed (exit code: 1603).
Log file: C:\Users\{user}\AppData\Local\Temp\wsl-install-logs.txt
Error code: Wsl/UpdatePackage/ERROR_INSTALL_FAILURE
Diagnostic Logs
wsl-install-logs.txt
WslLogs-2024-10-07_12-56-30.zip
The text was updated successfully, but these errors were encountered: