Open josemtella opened 1 week ago
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.
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!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
I have the same issue. And, just trying to install another distro (debian), it shows the following error:
The log file: WslLogs-2024-11-20_09-59-45.zip
logs file WslLogs-2024-11-19_17-12-08.zip
the same problemWslLogs-2024-11-21_11-59-48.zip
I had the same issue, but it was resolved by downgrading to version 2.3.26.
I had the same issue, but it was resolved by downgrading to version 2.3.26.
how to downgrade to 2.3.26?
I had the same issue, but it was resolved by downgrading to version 2.3.26.
how to downgrade to 2.3.26?
https://github.com/microsoft/WSL/releases/tag/2.3.26 only need to run either wsl.2.3.26.0.x64.msi or wsl.2.3.26.0.arm64.msi. Which one to run depends on your environment.
how to downgrade to 2.3.26?
To downgrade WSL version is very easy regardless of how you install WSL 2.4.4:
wsl --uninstall
wsl --install Ubuntu-24.04
Ubuntu-24.04
on the command line is just a example, use any distro you want to install.
Thank you @josemtella. Looking at the logs, the issue seems to be coming from a string encoding errors.
Could you share what's your Windows username, and what environment variables you have set on the machine ? I wonder if there are special characters that are causing this error.
Tank @OneBlue, Indeed, the characters in the "prompt" environment variable are causing the error. I have:
prompt=$$E[92m┌─$E[93m[CMD]$E[92m─($E[94mcpanld4@%computername%$E[92m)$└─$E[93m[$E[97m$p$E[93m]$E[94m$$$S$E[0m
If I remove it or set the value prompt=[$p], the Linux distributions boot without problems. Just putting the previous prompt back, it fails again
I would like to keep the prompt, please consider this a bug.
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.
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!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
I leave the logs once I have seen the problem with my answer: https://github.com/microsoft/WSL/issues/12294#issuecomment-2495421233
@josemtella - I think I have a fix, could you give me some instructions on how validate this? You're setting some environment variable on the Windows side right?
@benhillis see:
[code] set var=└─ [/code]
Thanks! I have confirmed my fix resolves this issue.
Windows Version
Microsoft Windows [Version 10.0.26100.2448]
WSL Version
2.4.4.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.167.4-1
Distro Version
Any distro
Other Software
No response
Repro Steps
start any distro
Expected Behavior
start distro
Actual Behavior
The error
An assertion failure has occurred. Error code: Wsl/Service/0x8007029c
appears and the distribution does not start.Diagnostic Logs
No response