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' is not installing default distribution (Ubuntu) #1303
Comments
I had the same experience with version 21H1 (Build 19043.1288). |
Thank you! I got the same using |
No, it doesn't. Page says:
UPDATE: The situaton is a bit trickier. It is true that |
Okay, things are even more complicated. With clean Windows 20H2, no-arg Note that |
I'd score quality of implementation of this feature as -2 on 0-10 scale. @microsoft please, hire better programmers and QA. |
@slonopotamus, I still don't understand your point.
"@microsoft please, hire better programmers and QA." it is not a bug; the command is made on purpose in that way. |
Also check this comment for clarifications: #1408 (comment) |
If I don't have network connection,
It doesn't need to assume anything. Don't try to outsmart the user. I'll quote again:
So, your docs clearly indicate that no-arg
Wrong. If I already have WSL1 installed, I may still want to install WSL2. |
As others have said this is because WSL is already installed! We put in a note on the main page to make sure that this is seen by other users, and have fixed this error code in later versions of the product. Thanks for filing this! |
Page https://docs.microsoft.com/en-us/windows/wsl/install says that from Windows 10 version 2004 and higher (Build 19041 and higher) command
wsl --install
should install Ubuntu by default, but it is not the case for meOn the other hand,
wsl --install -d Ubuntu
works fine.I have windows version dev (os build 21390.2025).
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: