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

"WslRegisterDistribution failed with error: 0x8004030b Error: 0x8004030b (null)" While installing WSL1 distros #12636

Open
1 of 2 tasks
ariasaltis opened this issue Feb 25, 2025 · 4 comments

Comments

@ariasaltis
Copy link

Windows Version

Microsoft Windows [Version 10.0.22631.3737]

WSL Version

2.4.11.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

No response

Distro Version

Ubuntu 16.04

Other Software

No response

Repro Steps

Downloaded and installed Ubuntu 16.04 appx
Following error after trying to run the program:
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x8004030b
Error: 0x8004030b (null)
Press any key to continue...

Expected Behavior

Successful installation

Actual Behavior

WslRegisterDistribution failed with error: 0x8004030b
Error: 0x8004030b (null)
Press any key to continue...

Diagnostic Logs

WslLogs-2025-02-25_21-47-34.zip

Copy link

Diagnostic information
Detected appx version: 2.4.11.0

@OneBlue
Copy link
Collaborator

OneBlue commented Feb 25, 2025

Thank you for reporting this @ariasaltis. This could be because you're out of space, but let's try something different.

Inside the .appx, there's a install.tar.gz file. Can you try to run wsl --install --from-file /path/to/install.gz --name my-distro and there the output of that command ?

(you can see the content of an .appx file by just renaming it to .zip)

@ariasaltis
Copy link
Author

Thank you so much! Your solution worked great!

Feel free to ask me if you needed any logs/diagnostics to fix the problem with the appx ones. @OneBlue

@ariasaltis
Copy link
Author

Ok I have more info, it seems like this happens whenever I try to install a distro in a disk other than C:\

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

2 participants