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 2 fails to update properly from 2.0.x to 2.0.3 & 2.0.4: Error: 0x8007019e The Windows Subsystem for Linux has not been enabled. #10607

Closed
1 of 2 tasks
satmandu opened this issue Oct 8, 2023 · 5 comments

Comments

@satmandu
Copy link

satmandu commented Oct 8, 2023

Windows Version

Microsoft Windows [Version 10.0.22621.2361]

WSL Version

2.0.4

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.123.1-microsoft-standard-WSL2

Distro Version

Ubuntu 23.10

Other Software

No response

Repro Steps

I run wsl --update --pre-release
I see this:

wsl --update --pre-release
Checking for updates.
Updating Windows Subsystem for Linux to version: 2.0.4.

Expected Behavior

wsl should update so I can just open a new shell.

Actual Behavior

Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x8007019e
Error: 0x8007019e The Windows Subsystem for Linux has not been enabled.

Press any key to continue...

I have to download the x86_64 msi installer and run that, to get the install to fix itself.

Diagnostic Logs

No response

@satmandu satmandu changed the title wsl 2 fails to update properly from 2.0.x to 2.0.3, 2.0.4 wsl 2 fails to update properly from 2.0.x to 2.0.3 & 2.0.4: Error: 0x8007019e The Windows Subsystem for Linux has not been enab Oct 8, 2023
@satmandu satmandu changed the title wsl 2 fails to update properly from 2.0.x to 2.0.3 & 2.0.4: Error: 0x8007019e The Windows Subsystem for Linux has not been enab wsl 2 fails to update properly from 2.0.x to 2.0.3 & 2.0.4: Error: 0x8007019e The Windows Subsystem for Linux has not been enabled. Oct 8, 2023
@jmar5439
Copy link

jmar5439 commented Oct 9, 2023

could you explain how did you do to install with the x86_64 msi installer?
i have the same issue here and i cannot access files in wsl @satmandu

@satmandu
Copy link
Author

satmandu commented Oct 9, 2023

could you explain how did you do to install with the x86_64 msi installer?
i have the same issue here and i cannot access files in wsl @satmandu

I installed https://github.com/microsoft/WSL/releases/download/2.0.4/wsl.2.0.4.0.x64.msi

@OneBlue
Copy link
Collaborator

OneBlue commented Oct 10, 2023

@satmandu: It looks like you're missing the "Windows subsystem for linux" optional component, which is required to run WSL on Windows 10.

Can you try to enable it and try again ?

@satmandu
Copy link
Author

@satmandu: It looks like you're missing the "Windows subsystem for linux" optional component, which is required to run WSL on Windows 10.

Can you try to enable it and try again ?

The "Windows subsystem for linux" component was somehow no longer installed.

I can open wsl now, but will see what happens after 2.0.5 comes out, to see if I can successfully update to that using wsl --update --pre-release, as for now that command won't work for me:

PS C:\Users\satadru> wsl --update --pre-release
Checking for updates.
The most recent version of Windows Subsystem for Linux is already installed.
PS C:\Users\satadru>

@OneBlue
Copy link
Collaborator

OneBlue commented Oct 19, 2023

Ok good to know. Closing for now. Feel free to reopen if the issue happens again.

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

No branches or pull requests

3 participants