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

Unable to get WSL Working #11275

Closed
1 of 2 tasks
yliece opened this issue Mar 8, 2024 · 11 comments
Closed
1 of 2 tasks

Unable to get WSL Working #11275

yliece opened this issue Mar 8, 2024 · 11 comments

Comments

@yliece
Copy link

yliece commented Mar 8, 2024

Windows Version

Microsoft Windows [Version 10.0.22631.3235]

WSL Version

0.0.0.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

No response

Distro Version

No response

Other Software

No response

Repro Steps

Unable to get WSL working no matter what I do.

When writing "wsl" in powershell, following error pops up.

PS C:\Users\admin> wsl
The system cannot find the path specified.
Error code: Wsl/CallMsi/ERROR_PATH_NOT_FOUND

I've attempted to disable, reboot and reenable all windows features related to it. I've also attempted to repair and reinstall WSL through the install menu. I've looked at other opened and closed issues and no other issue seems to have what I'm experiencing (Unless I've missed something)

Suprisinigly enough, I don't know why it's unable to call or the MSI when I have the files for it (See picture below)

explorer_R2yAHPfTSM

Any ideas?

Expected Behavior

To launch the WSL Distribution I would be running or something else to show up at least.

Actual Behavior

PS C:\Users\admin> wsl
The system cannot find the path specified.
Error code: Wsl/CallMsi/ERROR_PATH_NOT_FOUND

Diagnostic Logs

No response

Copy link

github-actions bot commented Mar 8, 2024

Hi I'm an AI powered bot that finds similar issues based off the issue title.

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. Thank you!

Closed similar issues:

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

@OneBlue
Copy link
Collaborator

OneBlue commented Mar 12, 2024

Based on the error it looks like your WSL installation might be in a bad state.

Does installing the latest MSI solve the issue ?

@algerkong
Copy link

I'm getting the same error as him, and I'm having the problem because of a rollback to windows 11. I try to install the latest version and it prompts an error. What should I do to fix it?
image

@yliece
Copy link
Author

yliece commented Mar 12, 2024

Based on the error it looks like your WSL installation might be in a bad state.

Does installing the latest MSI solve the issue ?

Installing the latest MSI does get WSL to work, but the main issue for me is that when I try to disable it and then re-enable it, it never fully works. I have some left over linux distros and it's causing issues

@OneBlue
Copy link
Collaborator

OneBlue commented Mar 12, 2024

@yliece: What do you mean by 'disable and re-enable' in this context ? Are you talking about the Windows feature ? In this case, can you share repro instructions ?

@OneBlue
Copy link
Collaborator

OneBlue commented Mar 12, 2024

@algerkong: The rollback might have left your machine in a weird state. Does uninstall the previously installed version help ?

@algerkong
Copy link

@algerkong: The rollback might have left your machine in a weird state. Does uninstall the previously installed version help ?

I re-updated to the latest windows 11 version. Reinstalled the latest wsl and the installation reported an error, could not install the MSIX package (Error:: This request is not supported.) .
image

@OneBlue
Copy link
Collaborator

OneBlue commented Mar 13, 2024

Thank you @algerkong.

Does running this command (elevated powershell):

Get-AppxPackage MicrosoftCorporationII.WindowsSubsystemforLinux -AllUsers   | Remove-AppxPackage

And then running the installer again help ?

@MaxNadeev
Copy link

Thank you @algerkong.

Does running this command (elevated powershell):

Get-AppxPackage MicrosoftCorporationII.WindowsSubsystemforLinux -AllUsers   | Remove-AppxPackage

And then running the installer again help ?

image_2024-03-25_225355305
it doesn't work

@MaxNadeev
Copy link

MaxNadeev commented Mar 25, 2024

@algerkong: The rollback might have left your machine in a weird state. Does uninstall the previously installed version help ?

I re-updated to the latest windows 11 version. Reinstalled the latest wsl and the installation reported an error, could not install the MSIX package (Error:: This request is not supported.) . image

same problem. Have you got how to fix?

@GuidoSanche5
Copy link

Funciona. En PowerShell, como administrador

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

No branches or pull requests

5 participants