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 install may not support --no-distribution #6415

Open
mook-as opened this issue Feb 2, 2024 · 1 comment
Open

WSL install may not support --no-distribution #6415

mook-as opened this issue Feb 2, 2024 · 1 comment
Labels
area/installer For the installer, updater and uninstaller. kind/bug Something isn't working platform/windows

Comments

@mook-as
Copy link
Contributor

mook-as commented Feb 2, 2024

It looks like some users can end up in a state where Rancher Desktop installation failed because --no-distribution isn't supported:

Action 9:19:59: InstallWSL. Installing Windows Subsystem for Linux...
MSI (s) (28!84) [09:19:59:885]: Closing MSIHANDLE (79) of type 790531 for thread 11140
MSI (s) (28!7C) [09:19:59:957]: Creating MSIHANDLE (80) of type 790531 for thread 8572
time="2024-02-01T09:19:59+01:00" level=info msg="--install: unrecognized option: no-distribution"
MSI (s) (28!7C) [09:19:59:958]: Closing MSIHANDLE (80) of type 790531 for thread 8572
MSI (s) (28!84) [09:19:59:980]: Creating MSIHANDLE (81) of type 790531 for thread 11140
time="2024-02-01T09:19:59+01:00" level=error msg="Installing WSL failed" error="exit status 0xffffffff"

Originally posted by @mook-as in #6399 (comment)

@mook-as mook-as added kind/bug Something isn't working platform/windows area/installer For the installer, updater and uninstaller. labels Feb 2, 2024
@Chealer
Copy link

Chealer commented Jul 5, 2024

Indeed, and it can also fail because wsl.exe does not support --version. MicrosoftDocs/WSL#1663 provides background for both cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/installer For the installer, updater and uninstaller. kind/bug Something isn't working platform/windows
Projects
None yet
Development

No branches or pull requests

2 participants