Skip to content
This repository has been archived by the owner on Nov 22, 2017. It is now read-only.

Unable to install AlWSL - Windows Insiders #81

Open
tzekid opened this issue Sep 8, 2017 · 10 comments
Open

Unable to install AlWSL - Windows Insiders #81

tzekid opened this issue Sep 8, 2017 · 10 comments

Comments

@tzekid
Copy link

tzekid commented Sep 8, 2017

I had a working ALWSL installation; tried the three new WSL distros and when then was unable to install ALWSL again.
Extra info: I installed the fast-lane Insiders preview.
No errors shown or any input all.

Is there any helpful info-dump I can provide ?

Sample output:

>.\alwsl.bat remove; .\alwsl.bat install
...
Downloading from the Windows Store... 100%
Extracting filesystem, this will take a few minutes...
Installation successful!
Documentation is available at:  https://aka.ms/wsldocs
alwsl (info): Downloading alwsl rootfs (this might take a while)...
alwsl (info): Copying rootfs to temporary extraction destination.
alwsl (info): Unsquashing rootfs.
Parallel unsquashfs: Using 4 processors
32080 inodes (29982 blocks) to write

[=======================================/ ] 29889/29982  99%

created 24621 files
created 2004 directories
created 5668 symlinks
created 11 devices
created 0 fifos              :: This is where it just freezes
Terminate batch job (Y/N)?Y
@yobyzal
Copy link

yobyzal commented Oct 3, 2017

@tzekid Try to delete C:\Users\[YOUR USERNAME]\AppData\Local\lxss\temp

@Krutonium
Copy link
Contributor

This issue persists on the latest RTM.

@yibum
Copy link

yibum commented Oct 13, 2017

@yobyzal 's comment works.
Delete C:\Users[YOUR USERNAME]\AppData\Local\lxss\temp when stucks in "created 0 fifos".
It may be issues related to wsl.

@KHZ-INTL
Copy link

I have the same problem, the installer is stuck at the same place. @yobyzal The installer cleans the temp folder, nothing to delete.

@ghost
Copy link

ghost commented Oct 19, 2017

same issue here. deleting the temp folder does nothing to solve.

@dangkhoasdc
Copy link

I just deleted folder temp twice and then it worked.
image

@eldon111
Copy link

Worked for me too. To hopefully help anyone else like me who didn't pick up on the subtlety right away, you need to delete the temp folder while the installer is stuck.

@yobyzal
Copy link

yobyzal commented Oct 26, 2017

The script keeps on checking if temp exists to make sure that unsquashfs command was finished. But it seems that no command would to delete temp after that.

……
if "%~1" == "install" (
        ……
	call :overwritefs "%~dp0alwsl.sfs"        :: calling `overwritefs`
	call :waitforexit                         :: calling `waitforexit`
	call :transpose
        ……
)

:overwritefs
……
bash -c "cd && cd rootfs-temp && unsquashfs -f -x -d . %~n1.sfs 2>/dev/null"
goto :eof                                         :: just end and no command would to delete `temp` after `unsquashfs` was finished
:waitforexit
if exist "%localappdata%\lxss\temp" (
	goto :waitforexit                         :: <--dead loop
)
goto :eof
……

@Krutonium
Copy link
Contributor

I suspect that temp was supposed to be removed after unsquashfs ran... Hmmm.

@jeffvandyke
Copy link

Ran into this issue as well, and my windows explorer was being really weird, couldn't see AppData or lxss folders in the file view; I had to manually enter .../AppData/Local/lxss before I could see the "temp" folder I wanted to delete. Thanks!

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

No branches or pull requests

8 participants