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

Can't install any distribution on WSL2 on Windows 11 Pro #11617

Closed
1 of 2 tasks
s1nyx opened this issue May 24, 2024 · 7 comments
Closed
1 of 2 tasks

Can't install any distribution on WSL2 on Windows 11 Pro #11617

s1nyx opened this issue May 24, 2024 · 7 comments
Labels
emailed-logs Logs have been emailed

Comments

@s1nyx
Copy link

s1nyx commented May 24, 2024

Windows Version

Microsoft Windows [version 10.0.22631.3527]

WSL Version

0.0.0.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.10.16

Distro Version

No response

Other Software

No response

Repro Steps

So a bit of context, I am on a Laptop given by my company. We use Zscaler.
I was trying to install any distribution actually with wsl --install -d Ubuntu (also tried with Microsoft Store and got the same error code).

Expected Behavior

Ubuntu to be installed

Actual Behavior

It showed the following error: "An error occurred during installation. distribution name 'ubuntu' error code 0x80004002"

Diagnostic Logs

  • Both features "Virtual Machine Platform" and "Windows Subsystem For Linux" are enabled on the Windows
  • I have a tried somethings I've seen on previous github issues which had kind of the same issue as me but didn't change anything.
  • When I do wsl --update I get a message "This interface is no longer in charge"
  • When I do wsl -l -v I get (because i have docker desktop installed currently offline):
    NAME STATE VERSION
  • docker-desktop Stopped 2
    docker-desktop-data Stopped 2
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 scipt will output the path of the log file once done.

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

View similar issues

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!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@s1nyx
Copy link
Author

s1nyx commented May 24, 2024

/emailed-logs

Copy link

Diagnostic information
Found '/emailed-logs', adding tag 'emailed-logs'

@zcobol
Copy link

zcobol commented May 24, 2024

@s1nyx wsl --install -d Ubuntu will pull from the store, and I had issues when installing from the store also. Try wsl --install -d Ubuntu --web-download instead. Before installing a distro run wsl --install --no-distribution to make sure all the required components are there. wsl --help will show more information.

@OneBlue
Copy link
Collaborator

OneBlue commented May 24, 2024

Thank you @s1nyx. I don't see any WSL activity in the log file you shared. Could you collect logs while you reproduce the problem ?

Also indeed if this is a store issue, --web-download is likely to solve the issue, could you try that ?

@s1nyx
Copy link
Author

s1nyx commented May 25, 2024

@s1nyx wsl --install -d Ubuntu will pull from the store, and I had issues when installing from the store also. Try wsl --install -d Ubuntu --web-download instead. Before installing a distro run wsl --install --no-distribution to make sure all the required components are there. wsl --help will show more information.

Hi,

Thanks, it worked :)

@s1nyx
Copy link
Author

s1nyx commented May 25, 2024

Thank you @s1nyx. I don't see any WSL activity in the log file you shared. Could you collect logs while you reproduce the problem ?

Also indeed if this is a store issue, --web-download is likely to solve the issue, could you try that ?

Hi,

Using web-download worked. However I would like to understand why it didn't from the store. Is it because of Zscaler?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
emailed-logs Logs have been emailed
Projects
None yet
Development

No branches or pull requests

3 participants