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 seen during 02_install.ps1 #3

Open
bmurmann opened this issue Dec 23, 2023 · 3 comments
Open

Error seen during 02_install.ps1 #3

bmurmann opened this issue Dec 23, 2023 · 3 comments

Comments

@bmurmann
Copy link

Enter target directory of WSL dist: C:\Users\bmurm\temp
Import in progress, this may take a few minutes.
The operation completed successfully.
<3>WSL (9) ERROR: CreateProcessEntryCommon:502: execvpe ./02_install.sh failed 2
<3>WSL (9) ERROR: CreateProcessEntryCommon:505: Create process not expected to return
The operation completed successfully.

Any idea on how to address these errors? Similar ones show up in later steps as well. Something to do with permissions?

@bmurmann
Copy link
Author

Could be a new issue with WSL?
microsoft/WSL#10767

@barakhoffer
Copy link
Owner

Looks like a permission issue with the target directory, try a different one?
I will add a fix to elevate this script as well so it will not be an issue.

@bmurmann
Copy link
Author

I tried a different directory and also running the script as admin, no success.

This runs fine: wsl.exe -d $DistName
But this fails with error 2 (file not found?): wsl.exe -d $DistName -e ./02_install.sh

The internet is full with reports of this error, see e.g.:
https://askubuntu.com/questions/1423048/i-am-getting-error-on-windows-subsystem
I tried setting the correct default distro, but that also didn't help.

Definitely an issue with WSL and not your script. I will try to start fresh with all distros deleted.

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