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

Cannot repair WSL after apparent corruption #12641

Open
George-PR opened this issue Feb 27, 2025 · 2 comments
Open

Cannot repair WSL after apparent corruption #12641

George-PR opened this issue Feb 27, 2025 · 2 comments

Comments

@George-PR
Copy link

George-PR commented Feb 27, 2025

WslLogs-2025-02-27_22-47-27.zip

Windows Version
Microsoft Windows [Version 10.0.19045.5487]

Reproducing Error
(No steps needed - I just open up WSL and it happens)

WSL is finishing an upgrade...
wsl: WSL installation appears to be corrupted (Error code: Wsl/CallMsi/Install/0x80070660).
Press any key to repair WSL, or CTRL-C to cancel.
This prompt will time out in 60 seconds.  

After pressing a key to initiate the repair:

Updating Windows Subsystem for Linux to version: 2.4.11.

A progress bar begins filling up, and when it reaches 100%, the window closes, and upon reopening, the same beginning messages appear.

Expected Behaviour
I was expecting WSL to successfully upgrade and be ready for use.

Strace
I don't think this is applicable for me, as there is no command I used for the issue; I simply had to press a random key to initiate the repair.

Copy link

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'.

Copy link

Diagnostic information
Issue was edited and new log file was found: https://github.com/user-attachments/files/19011440/WslLogs-2025-02-27_22-47-27.zip
Detected appx version: 2.4.11.0
Detected user visible error: Bash/CallMsi/Install/0x80070660

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

No branches or pull requests

1 participant