Closed SonaliBendre closed 2 years ago
Thank you for reporting. But I'm sorry, I'm not the maintainer of the Scoop package, so I'm not sure if I can help.
Could you check if you have enabled WSL and installed the WSL2 kernel package, again? https://aka.ms/wsl2kernel
And If you are using other VM software (VMWare, VBox, etc.), it is possible that the Hyper-V function required by WSL2 cannot be used due to this.
Thank you for reporting. But I'm sorry, I'm not the maintainer of the Scoop package, so I'm not sure if I can help.
Could you check if you have enabled WSL and installed the WSL2 kernel package, again? https://aka.ms/wsl2kernel
And If you are using other VM software (VMWare, VBox, etc.), it is possible that the Hyper-V function required by WSL2 cannot be used due to this.
Thanks for the fast reply. Updated my issue comment with system details
I run wsl
in terminal and its working. I think its wsl2 since my build version is 220000
Yes I use WindowsSubsystemForAndroid
WSA is official product of microsoft
Please check Environment. I edited it
wsl2 is installed right?
Thank you very much for filling environment infos. Your WSL is enabled correctly. thank you. But I'm not sure if your WSL2 is working.
Could you to install this package and try install again? https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi
OK.
BTW I had installed WindowsSubsystemForAndroid from https://github.com/LSPosed/MagiskOnWSA for rooting. Does it cause any problem?
thank you @yuk7 for the fix, ArchWSL started sucessfully but I got a one line error again :((((( I afraid it may break my WSL setup :(((( I can't see scoop log so no idea what's the error is actually
see
Installing 'archwsl' (22.2.10.0) [64bit]
Loading Arch.zip from cache
Checking hash of Arch.zip ... ok.
Extracting Arch.zip ... done.
Linking ~\scoop\apps\archwsl\current => ~\scoop\apps\archwsl\22.2.10.0
Creating shim for 'Arch'.
Creating shortcut for Arch Linux (Arch.exe)
Persisting data
Running post-install script...
ERROR Exit code was 1!
WARN DO NOT KILL THE PROCESS. Installation is still running!
'archwsl' (22.2.10.0) was installed successfully!
Notes
-----
Even when you are logging in as 'root', some operations (like service command) require Windows administrator privileges
FIXED: wsl --update
IMPORTANT Please read README and Docs before creating the issue.
Please fill out the below information: Describe the issue A clear and concise description of what the bug is. I tried to install archwsl in wsl2 in Windows 11 with scoop but its not installing To Reproduce Steps to reproduce the behavior:
scoop install archwsl
scoop uninstall archwsl
Enviroment:
ver
at a Command Prompt)Arch.exe version
at a Command Prompt)Additional context Add any other context about the problem here.
scoop uninstall archwsl