The docs for installing YunoHost on WSL need updating (https://yunohost.org/en/install/hardware:wsl). The debian package downloaded from the command shown uses .appx microsoft store format and does not immediately include install.tar.gz needed for the next step in the docs, which blocks carrying out the install.
Workaround
Unpack the downloaded debian.zip
Rename .appx .zip >> unpack the new zip with right architecture (which is always x64 for win10?) Expand-Archive DistroLauncher-Appx_1.12.2.0_x64.zip -Destination-Path .\x
Run wsl import with path to x temp folder: wsl --import yunohost .\yunohost .\debian\x\install.tar.gz --version 2
Describe the bug
The docs for installing YunoHost on WSL need updating (https://yunohost.org/en/install/hardware:wsl). The debian package downloaded from the command shown uses
.appx
microsoft store format and does not immediately includeinstall.tar.gz
needed for the next step in the docs, which blocks carrying out the install.Workaround
Expand-Archive DistroLauncher-Appx_1.12.2.0_x64.zip -Destination-Path .\x
x
temp folder:wsl --import yunohost .\yunohost .\debian\x\install.tar.gz --version 2
adapted from https://dev.to/vpraharsha03/installing-msft-store-wsl-distros-to-a-custom-location-4m00