-
Notifications
You must be signed in to change notification settings - Fork 859
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
Error code: Wsl/InstallDistro/0x8007139f on Windows Server 2022 #9258
Comments
/logs |
Hello! Could you please provide more logs to help us better diagnose your issue? To collect WSL logs, download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
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 Thank you! |
I am having the same issue, and have attached my log file output in case it helps. |
Thank you @sirber. Based on the logs, it looks like the application package failed to install. Can you share the output of I wonder if the application is installed in a bad state, or for another user. |
nothing shows up also, in my tests, I completely removed WSL (from add/remove program), rebooted and reintalled it. Same issue. I edited the main description, my Windows Server 2022 is under Hyper-V, Nested Virtualisation activated, Intel CPU |
Hello, Please help, it's the 3rd time a make the operation and no success. |
Thank you @sirber. After looking into this we realized that the issue is that the ubuntu app depends on We have reported the issue to Canonical, to fix the issue, but in the meantime, installing the dependency manually can be used as a workaround |
Thank you!! It works! Powershell: |
This issue is not solved, at least for me. Starting with the latest Windows Server 2022 VHD from https://go.microsoft.com/fwlink/p/?linkid=2195166&clcid=0x409&culture=en-us&country=us it still shows Here's sample run:
Notice that |
I reopened the issue. Glad to hear that Debian works out of the box! |
Hello, I tried the fixes mentioned in #5331 but it didn't work. My VM won't start anymore !!! I'll try Debian and come back Thanks |
have you tried installing the kernel update? it's a required step on Windows 10 and WSL2. |
hey hey
|
@elsaco to give some context: You seem to have But beyond that, your message made me look into |
Great work! 😄 |
I have the same issue with Windows 10 20H2 (OS Build 19042.2364)
|
Is it possible to install the package using winget? |
It seems the problem was that I was trying to install distributions using elevated admin powershell instance. Installation succeeded with normal credentials after I imported Ubuntu with |
I am using Windows 11 (10.0.22621.1105), was trying to reinstall Ubuntu 22.04, was receiving error What worked for me was stopping Windows Subsystem for Linux processes on Task Manager, delete directory Worked both with Microsoft Store and Viewed this on this post |
I think this should be put in a prominent place of the docs. |
I am currently experiencing the same issue. I have attached my logs |
The same error. How to fix it? |
I am seeing the same issue with Windows Server 2022 VM on Azure, I have tried each of the following:
with the suggestions above but no luck. I saw these which I thought may give a clue but in the context of Windows server was not sure how to action:
Oddly if I install Rancher Desktop, and restart the machine but do not run it then all is fixed with WSL. I am yet to understand why. @benhillis I see you closed this a while back, can it be re-opened or should we create a new issue as this thread has many different issues in? |
Version
Microsoft Windows [version 10.0.20348.1311]
under Hyper-V, Nested Virtualisation activated, Intel CPU
WSL Version
Kernel Version
No response
Distro Version
No response
Other Software
No response
Repro Steps
wsl --install
(reboot)
wsl --install Ubuntu
Expected Behavior
get in Ubuntu
Actual Behavior
Wsl/InstallDistro/0x8007139f
Diagnostic Logs
https://techcommunity.microsoft.com/t5/itops-talk-blog/using-wsl-2-on-windows-server-2022-to-run-linux-containers/bc-p/3688927/highlight/true#M2411
The text was updated successfully, but these errors were encountered: