Ubuntu distribution install fails on non-ASCII usernames due to install_ubuntu_font
Windows Version
Microsoft Windows [Version 10.0.26200.5581]
WSL Version
2.5.7.0
Are you using WSL 1 or WSL 2?
- [x] WSL 2
- [ ] WSL 1
Kernel Version
No response
Distro Version
6.6.87.1-1
Other Software
No response
Repro Steps
1-Have a non-ASCII character in your Windows Username (mine is MartíBravo)
2-Install Ubuntu 24.04 on Linux
3-Install fails with "OOBE command "/usr/lib/wsl/wsl-setup" failed, exiting
4-Comment install_ubuntu_font in that script
5-Setup now works and Ubuntu proceeds to install
Expected Behavior
Non-ASCII characters shouldn't break the Ubuntu install process.
Actual Behavior
Unable to install Ubuntu due to this issue.
Diagnostic Logs
No response
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'.
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'.
Diagnostic information
.wslconfig found
Detected appx version: 2.5.7.0
Unexpected format in optional-component.txt: State : EnablePending
Is this the line you uncommented?
If so, it may be ideal to open the issue on Ubuntu's wsl-setup project,
cc @CarlosNihelton @didrocks
Is this the line you uncommented?
If so, it may be ideal to open the issue on Ubuntu's wsl-setup project,
Indeed it was that line. Will do.
Closing in favor of the issue on wsl-setup.