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

Error code: Wsl/InstallDistro/E_UNEXPECTED #9545

Closed
1 of 2 tasks
jianastrero opened this issue Jan 27, 2023 · 11 comments
Closed
1 of 2 tasks

Error code: Wsl/InstallDistro/E_UNEXPECTED #9545

jianastrero opened this issue Jan 27, 2023 · 11 comments
Assignees

Comments

@jianastrero
Copy link

Version

Microsoft Windows [Version 10.0.22621.1105]

WSL Version

  • WSL 2
  • WSL 1

Kernel Version

Default Version: 2

Distro Version

No response

Other Software

Dual boot enabled with secure boot enabled

Repro Steps

wsl --install Ubuntu
Catastrophic failure
Error code: Wsl/InstallDistro/E_UNEXPECTED

Expected Behavior

Install Ubuntu as it always have

Actual Behavior

Catastrophic Failure

Diagnostic Logs

WslLogs-2023-01-27_07-00-46.zip

@benhillis
Copy link
Member

Interesting, looks like we're not finding a package with the matching package id. Adding @OneBlue who wrote this logic.

@OneBlue
Copy link
Collaborator

OneBlue commented Feb 1, 2023

Looking at the logs it looks like the store returned 0 packages for the ubuntu distro.

@jianastrero: Is the windows store available on your machine ?

Also, does wsl --install Ubuntu --web-download work ?

@HanDaSeul
Copy link

I got a same problem but just changing the other network(wifi, LAN whatever) worked. Sometimes I had my PC connected to my phone Wifi hotspot and that caused problem.

@microsoft-github-policy-service
Copy link
Contributor

This issue has been automatically closed since it has not had any author activity for the past 7 days. If you're still experiencing this issue please re-open it.

Thank you!

@microsoft-github-policy-service
Copy link
Contributor

This issue has been automatically closed since it has not had any author activity for the past 7 days. If you're still experiencing this issue please re-open it.

Thank you!

@PeterMwangiNjoroge
Copy link

I had the same issue, and wsl.exe --update fixed it.

@mhsattarian
Copy link

The same issue occurred to me, fixed it with running wsl --shutdown in PS and starting WSL again.

@mirameshs
Copy link

wsl --install Ubuntu --web-download

not working.
also wsl --shutdown not worked


C:\Users\Administrator>wsl --update
Checking for updates.
The system cannot find the file specified.
Error code: Wsl/UpdatePackage/ERROR_FILE_NOT_FOUND

C:\Users\Administrator>

@mirameshs
Copy link

I had the same issue, and wsl.exe --update fixed it.

error :

C:\Users\Administrator>wsl --update
Checking for updates.
The system cannot find the file specified.
Error code: Wsl/UpdatePackage/ERROR_FILE_NOT_FOUND

C:\Users\Administrator>

@bosswnx
Copy link

bosswnx commented Jan 23, 2024

I met the same problem in China, and fixed it through setting up VPN such as Clash. I think it is probably network error.

@sofiateacoffee
Copy link

I'm facing the same issue, which I believe is due to the privacy policy on my desktop computer at the hospital. I'm unable to access the Microsoft Store and Chrome. I also tried to install Ubuntu through an APPX package, but it's blocked as well.

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

9 participants