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

WSL Upgrade Not Working #12546

Closed
1 of 2 tasks
koenigseggcc opened this issue Feb 4, 2025 · 5 comments
Closed
1 of 2 tasks

WSL Upgrade Not Working #12546

koenigseggcc opened this issue Feb 4, 2025 · 5 comments

Comments

@koenigseggcc
Copy link

koenigseggcc commented Feb 4, 2025

Windows Version

Microsoft Windows [Version 10.0.26100.3037]

WSL Version

WSL version: 2.0.9.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

Kernel version: 5.15.133.1-1

Distro Version

Ubuntu 24.04.1 LTS

Other Software

No response

Repro Steps

Try to update wsl.exe to the latest version (2.3.26 at the time of this ticket): wsl.exe --update
However, the version is stuck at: 2.0.9.0

Expected Behavior

I cannot seem to update WSL. This computer has hosted WSL since it was a tech preview, and it seems the old installs have become a problem.

I have these old versions listed in my 'add or remove programs' listing, and I cannot seem to uninstall them.

Image

Here are the logs from the installer.

wsl-install-logs.txt

Actual Behavior

C:\Windows\System32>wsl.exe --version
WSL version: 2.0.9.0
Kernel version: 5.15.133.1-1
WSLg version: 1.0.59
MSRDC version: 1.2.4677
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.26100.3037

C:\Windows\System32>wsl.exe --update
Checking for updates.
Updating Windows Subsystem for Linux to version: 2.3.26.
Update failed (exit code: 1603).
Log file: C:\Users\Kenan\AppData\Local\Temp\wsl-install-logs.txt
Error code: Wsl/UpdatePackage/E_ABORT

C:\Windows\System32>wsl.exe --version
WSL version: 2.0.9.0
Kernel version: 5.15.133.1-1
WSLg version: 1.0.59
MSRDC version: 1.2.4677
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.26100.3037

Diagnostic Logs

Please let me know what else is needed from me here.

I've tried downloading older msis from https://github.com/microsoft/WSL/releases, but I've had no luck with uninstalling prior versions.

Copy link

github-actions bot commented Feb 4, 2025

Logs are required for review from WSL team

If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'.
Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.

How to collect WSL logs

Download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:

Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\collect-wsl-logs.ps1

The script will output the path of the log file once done.

If this is a networking issue, please use collect-networking-logs.ps1, following the instructions here

Once completed please upload the output files to this Github issue.

Click here for more info on logging
If you choose to email these logs instead of attaching to the bug, please send them to [email protected] with the number of the github issue in the subject, and in the message a link to your comment in the github issue and reply with '/emailed-logs'.

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!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@koenigseggcc
Copy link
Author

Copy link

github-actions bot commented Feb 4, 2025

Diagnostic information
Detected appx version: 2.3.26.0
Detected user visible error: 

@OneBlue
Copy link
Collaborator

OneBlue commented Feb 4, 2025

@koenigseggcc: It looks like the previous installation is in a bad state. From the logs:

MSI (s) (48:A0) [19:06:03:039]: Product: Windows Subsystem for Linux -- Error 1714. The older version of Windows Subsystem for Linux cannot be removed.  Contact your technical support group.  System Error 1612.

Can you try to use this tool to force it to uninstall ?

https://support.microsoft.com/en-us/topic/fix-problems-that-block-programs-from-being-installed-or-removed-cca7d1b6-65a9-3d98-426b-e9f927e1eb4d

@koenigseggcc
Copy link
Author

That seemed to have worked! Thank you.

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

No branches or pull requests

2 participants