yuk7 / archwsl Goto Github PK
View Code? Open in Web Editor NEWArchLinux based WSL Distribution. Supports multiple install.
Home Page: https://git.io/archwsl
License: MIT License
ArchLinux based WSL Distribution. Supports multiple install.
Home Page: https://git.io/archwsl
License: MIT License
Hi After latest Windows April update ArchWSL stop working,
Even after complete reinstall still refuses to start with below error message.
Performing one-time upgrade of the Windows Subsystem for Linux file system for this distribution...
Error: 0x80070005
Press any key to continue...
Install and run glider:
pacman -S glider
glider -verbose -listen :8443
it will listen on both tcp and udp port 8443.
then check it in windows command line:
netstat -an | findstr 8443
UDP 0.0.0.0:8443 *:*
UDP [::]:8443 *:*
the tcp port 8443 was not opened.
I recently downloaded and installed your ArchWSL (where things worked successfully), uninstalled it using the Ubuntu bash terminal, and then tried installing it again, and when trying to run the application I end up receiving the error mentioned in the title; what can I do to fix this, as I understand this is a problem on my end?
Had the same experience as others earlier with the April update
BUT Running wslconfig /u Arch:
Unregistering...
Error: 0x80070003 <- still there!
Then it Worked!
Hi,
First of all: thanks for creating this installer!
I'm on Windows 10 build 14393.1884 and the installer crashes immediately:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Application Error" />
[snip]
</Event>
Any ideas?
Executing
.\Arch.exe config --default-user jacob
in powershell completes without issue.
Running Arch.exe again logs in as root.
Have added the user in Linux and can su to the new user when login as root, but after change default user to the new created one as instructed, the default is still root if run Arch.exe again.
ArchWSL works fine on Windows 10 1709. But update Windows from 1709 to 1803 (April 2018 Update), it doesn't work and get below output:
このディストリビューションの Linux ファイル システム用 Windows サブシステムのワンタイム アップグレードを実行しています...
エラー: 0x80070005
So I execute Arch clean
and Arch
to reinstall, but can't and get below output:
Installing...
ERROR:Installation Failed!
HRESULT:0x800700b7
I tried to install Ubuntu distro from store to check only the WSL works, and it works correctly. After I tried once to launch ArchWSL, but can't.
ArchWSL does not support Windows 10 April 2018 Update yet?
Describe the issue
After install and running pacman-key commands successfully. I get:
[root@XFactor ~]# pacman-key --init
gpg: /etc/pacman.d/gnupg/trustdb.gpg: trustdb created
gpg: no ultimately trusted keys found
gpg: starting migration from earlier GnuPG versions
gpg: porting secret keys from '/etc/pacman.d/gnupg/secring.gpg' to gpg-agent
gpg: migration succeeded
gpg: Generating pacman keyring master key...
gpg: key 7145C0492CFBCFDF marked as ultimately trusted
gpg: directory '/etc/pacman.d/gnupg/openpgp-revocs.d' created
gpg: revocation certificate stored as '/etc/pacman.d/gnupg/openpgp-revocs.d/B9DB93F55496D48C90B3B56A7145C0492CFBCFDF.rev'
gpg: Done
==> Updating trust database...
gpg: marginals needed: 3 completes needed: 1 trust model: pgp
gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u
[root@XFactor ~]# pacman-key --populate
==> Appending keys from archlinux.gpg...
==> Locally signing trusted keys in keyring...
-> Locally signing key DDB867B92AA789C165EEFA799B729B06A680C281...
-> Locally signing key 684148BB25B49E986A4944C55184252D824B18E8...
-> Locally signing key 91FFE0700E80619CEB73235CA88E23E377514E00...
-> Locally signing key AB19265E5D7D20687D303246BA1DFB64FFF979E7...
-> Locally signing key 0E8B644079F599DFC1DDC3973348882F6AC6A4C2...
==> Importing owner trust values...
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: inserting ownertrust of 4
gpg: setting ownertrust to 4
==> Disabling revoked keys in keyring...
-> Disabling key 7FA647CD89891DEDC060287BB9113D1ED21E1A55...
-> Disabling key D4DE5ABDE2A7287644EAC7E36D1A9E70E19DAA50...
-> Disabling key 40440DC037C05620984379A6761FAD69BA06C6A9...
-> Disabling key B1F2C889CB2CCB2ADA36D963097D629E437520BD...
-> Disabling key BC1FBE4D2826A0B51E47ED62E2539214C6C11350...
-> Disabling key 63F395DE2D6398BBE458F281F2DBB4931985A992...
-> Disabling key 8F76BEEA0289F9E1D3E229C05F946DED983D4366...
-> Disabling key 4FCF887689C41B09506BE8D5F3E1D5C5D30DB0AD...
-> Disabling key FB871F0131FEA4FB5A9192B4C8880A6406361833...
-> Disabling key 81D7F8241DB38BC759C80FCE3A726C6170E80477...
-> Disabling key 5E7585ADFF106BFFBBA319DC654B877A0864983E...
-> Disabling key 50F33E2E5B0C3D900424ABE89BDCF497A4BBCC7F...
-> Disabling key E7210A59715F6940CF9A4E36A001876699AD6E84...
-> Disabling key F5A361A3A13554B85E57DDDAAF7EF7873CFD4BB6...
-> Disabling key 40776A5221EF5AD468A4906D42A1DB15EC133BAD...
-> Disabling key 8CF934E339CAD8ABF342E822E711306E3C4F88BC...
-> Disabling key 5696C003B0854206450C8E5BE613C09CB4440678...
-> Disabling key 9515D8A8EAB88E49BB65EDBCE6B456CAF15447D5...
-> Disabling key 4A8B17E20B88ACA61860009B5CED81B7C2E5C0D2...
-> Disabling key 0B20CA1931F5DA3A70D0F8D2EA6836E1AB441196...
-> Disabling key 34C5D94FE7E7913E86DC427E7FB1A3800C84C0A5...
-> Disabling key 39F880E50E49A4D11341E8F939E4F17F295AFBF4...
-> Disabling key 66BD74A036D522F51DD70A3C7F2A16726521E06D...
-> Disabling key DBE7D3DD8C81D58D0A13D0E76BC26A17B9B7018A...
-> Disabling key 07DFD3A0BC213FA12EDC217559B3122E2FA915EC...
-> Disabling key 44D4A033AC140143927397D47EFD567D4C7EA887...
-> Disabling key 27FFC4769E19F096D41D9265A04F9397CDFD6BB0...
-> Disabling key 8840BD07FC24CB7CE394A07CCF7037A4F27FB7DA...
==> Updating trust database...
gpg: marginals needed: 3 completes needed: 1 trust model: pgp
gpg: bad data signature from key 20E8A9C77716EB4F: Wrong key usage (0x19, 0x2)
gpg: depth: 0 valid: 1 signed: 5 trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: bad data signature from key 20E8A9C77716EB4F: Wrong key usage (0x19, 0x2)
gpg: depth: 1 valid: 5 signed: 70 trust: 0-, 0q, 0n, 5m, 0f, 0u
gpg: depth: 2 valid: 70 signed: 8 trust: 70-, 0q, 0n, 0m, 0f, 0u
gpg: next trustdb check due at 2018-12-13
[root@XFactor ~]# pacman -Syy
:: Synchronizing package databases...
error: failed retrieving file 'core.db' from mirrors.evowise.com : Empty reply from server
error: failed retrieving file 'core.db' from mirrors.kernel.org : Empty reply from server
error: failed retrieving file 'core.db' from mirrors.kernel.org : OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to mirrors.kernel.org:443
error: failed to update core (download library error)
error: failed retrieving file 'extra.db' from mirrors.evowise.com : Empty reply from server
error: failed retrieving file 'extra.db' from mirrors.kernel.org : Empty reply from server
error: failed retrieving file 'extra.db' from mirrors.kernel.org : OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to mirrors.kernel.org:443
error: failed to update extra (download library error)
error: failed retrieving file 'community.db' from mirrors.evowise.com : Empty reply from server
error: failed retrieving file 'community.db' from mirrors.kernel.org : Empty reply from server
error: failed retrieving file 'community.db' from mirrors.kernel.org : OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to mirrors.kernel.org:443
error: failed to update community (download library error)
error: failed to synchronize all databases
[root@XFactor ~]# pacman -Syyu
:: Synchronizing package databases...
error: failed retrieving file 'core.db' from mirrors.evowise.com : Empty reply from server
error: failed retrieving file 'core.db' from mirrors.kernel.org : Empty reply from server
error: failed retrieving file 'core.db' from mirrors.kernel.org : OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to mirrors.kernel.org:443
error: failed to update core (download library error)
error: failed retrieving file 'extra.db' from mirrors.evowise.com : Empty reply from server
error: failed retrieving file 'extra.db' from mirrors.kernel.org : Empty reply from server
error: failed retrieving file 'extra.db' from mirrors.kernel.org : OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to mirrors.kernel.org:443
error: failed to update extra (download library error)
error: failed retrieving file 'community.db' from mirrors.evowise.com : Empty reply from server
error: failed retrieving file 'community.db' from mirrors.kernel.org : Empty reply from server
error: failed retrieving file 'community.db' from mirrors.kernel.org : OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to mirrors.kernel.org:443
error: failed to update community (download library error)
error: failed to synchronize all databases
To Reproduce
Expected behavior
Pacman to work
Screenshots
If applicable, add screenshots to help explain your problem.
Enviroment:
ver
at a Command Prompt)Arch.exe version
at a Command Prompt)Additional context
Add any other context about the problem here.
I created a new user with useradd
& tried to set it as default with Arch.exe --default-user redxtech
but that didn't do anything. I can confirm that I typed it out properly. I haven't rebooted my PC yet but I don't think that should have an impact. I'll give that a shot when I'm able to but at the moment is there something that I could do?
Would you be fine with open sourcing the source code of this utility under this repo?
First of all: awework work! saved me a lot of time (i've installed Arch on WSL manually before, that was quite some work, this time it was a breeze thank you)...
one small problem I ran into: I'm not able to set the default user. I've tried with 'Arch.exe config --default-user luke' and 'Arch.exe config --default-uid 1000' but when I start Arch.exe afterwards I'm always root.
'Arch.exe get --default-uid' returns 1000 as expected.
As root I can sudo into luke, and running the id command shows i'm uid 1000.
See title, I get this when I run the .exe.
I'm trying to start nginx service like this:
systemctl start nginx
but i get the following error:
System has not been booted with systemd as init system (PID 1). Can't operate.
I know that WSL currently uses a proprietary init process, but I don't know how to use it to start/restart/stop services.
It's also interesting to note that with Ubuntu WSL the command service nginx start
works fine. Is it possible to do the same thing with Arch WSL ?
I used to have Ubuntu installed to WLS, but cannot install Arch WSL. I've gotten HRESULT:0x8000000d error. Either run with root or not, which is strange.
C:\Users\Jean-Patrick\Downloads\Arch>Arch.exe
Installing...
ERROR:Installation Failed!
HRESULT:0x8007019e
Press any key to continue...
Cmd.exe admin of course
Windows 10 Pro, 1803, OS build 17134.112
As I notice the Arch.exe does open a different cmd.exe (?) with different config for options I want to ask if its posible to run colortool to change the color scheme of the terminal.
I achieve changing background and foreground colors by running Arch.exe with Admin, but as I can't run windows command prompt while on Arch.exe I can run colortool for the others colors.
Any advice?
When i open "Arch.exe" i got that: "Error: 0x80070002" ..
Try to create new user under the root and running
Arch.exe config --default-user my_user_name is not working
Any idea where to look ?
Is is possible to open source the sources for Arch.exe?
When running any Arch.exe config configuration I get an error:
PS C:\Users\username\folder\Arch> .\Arch.exe config --append-path off
ERROR
HRESULT:0x80004005
Using CMD/PS with or without admin rights does not matter.
Also arch.exe get --append-path
tells me on
, but it isn't actually in my PATH.
Hi,
running Arch.exe leads to this error:
Installing... ERROR:Installation Failed! HRESULT:0x80004005 Press any key to continue...
Searched for the error code and found out that the error occurs when you use a home folder with non english letters. But my home folder is full english. Also tried running with root priviliges.
Thanks.
IMPORTANT
Please read README and Known issues before creating the issue.
Please fill out the below information:
Describe the issue
A clear and concise description of what the bug is.
ArchWSL is not showing windows process's
To Reproduce
Steps to reproduce the behavior:
run "htop"
Expected behavior
A clear and concise description of what you expected to happen.
Show windows process's
Screenshots
If applicable, add screenshots to help explain your problem.
Enviroment:
Windows build number: [e.g. 10.0.17134.228] (Type ver
at a Command Prompt)
Microsoft Windows [Version 10.0.17134.285]
ArchWSL version [e.g. 18081100] (version of zip)
18081100
Launcher version [e.g. 18080900] (Type Arch.exe version
at a Command Prompt)
wsldl, version 18080900
Additional context
Add any other context about the problem here.
Changing the Start in:
field of the shortcut to any directory inside rootfs
, e.g. C:\Arch\rootfs\root
causes the shell to start in /
instead of /root
as expected.
Thanks for your job.
I installed ArchWSL yesterday. The update failed in this morning.
[root@pc-hz20097394 ~]# pacman -Sy
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
:: Synchronizing package databases...
core 0.0 B 0. core 735.0 B 103K/s 00:00
core.sig 0.0 B 0. core.sig 739.0 B 0.00B/s 00:00
error: GPGME error: No data
error: failed to update core (invalid or corrupted database (PGP signature))
extra 0.0 B 0. extra 737.0 B 0.00B/s 00:00
extra.sig 0.0 B 0. extra.sig 741.0 B 0.00B/s 00:00
error: GPGME error: No data
error: failed to update extra (invalid or corrupted database (PGP signature))
community 0.0 B 0. community 745.0 B 0.00B/s 00:00
community.sig 0.0 B 0. community.sig 749.0 B 0.00B/s 00:00
error: GPGME error: No data
error: failed to update community (invalid or corrupted database (PGP signature))
error: failed to synchronize all databases
I've tried every method mentioned in this topic https://bbs.archlinux.org/viewtopic.php?id=142798&p=2 but none of them worked.
I think it might be something special with ArchWSL because I've never met this problem in pure ArchLinux.
It seems Arch.exe opens the directory which contains the executable upon startup. How to change the directory to home directory of the default user?
Hi,
I am using Windows 10 1709.
I down Arch.zip and unzip it in a folder in my Downloads folder (\Downloads\WSLArch)
I follow the steps provided in the wiki and everything seems to be working fine other than starting Arch.exe as Admin to install.
It starts normally (a command prompt is starting) but when I do Arch.exe get --lxuid I get an empty line.
I found this out as I tried to create an entry for this in Cmder.
Any help would be greatly appreciated.
I tried installing the latest release and got this error message when installing
PS C:\Users\u\Downloads\Arch> .\arch.exe
Installing...
ERROR:Installation Failed!
HRESULT:0x0
Press any key to continue...
However running arch.exe results in a working shell and uname -a gives the following output:
PS C:\Users\u\Downloads\Arch> .\arch.exe run uname -a
Linux XPS15 4.4.0-17134-Microsoft #81-Microsoft Sun May 20 01:14:00 PST 2018 x86_64 GNU/Linux
Just wondering if the source for the executable file could be shared.
IMPORTANT
Please read README and Known issues before creating the issue.
Please fill out the below information:
Describe the issue
Trying to change root password, to be able to add users to sudo.
To Reproduce
Try to change root password with 'passwd'
Expected behavior
Expected the password to be root, arch or similiar, but nothing helped.
Screenshots
Can add if needed?
Enviroment:
Microsoft Windows [Version 10.0.17744.1001]
Arch.exe version
at a Command Prompt)Additional context
Much of the help in template didn't really help at all....
Hi,
Thanks for the effort to provide this utility to use ArchLinux on WSL.
I did face an issue when using qtcreator and after some digging I found the issue is know and that there is a workaround & fix. I even believe you know that one too. If not here is the reference: chroot-fixups/qt5-core-abi.sh: make libQt5Core.so.5 load on el7 kernel.
Could you maybe document this workaround on the main page?
And as a side question. Why do you use faketoot-tcp in stead of the main one?
As the title says, I set it with the User setting entry, instead of bash.exe
but it just hangs.
Also, since Arch Wsl need to be run by Admin everytime I wonder if this thing will ever work.
but ubuntu in official Microsoft store doesn't.
I have installed Arch, started it, and created a user with useradd -u 1000 -m myuser
. I cannot, however, start Arch as this user:
myuser@computername ~\wsl_distros\Arch
$ ./arch get --default-uid
1000
myuser@computername ~\wsl_distros\Arch
$ ./arch
[root@computername Arch]# id myuser
uid=1000(myuser) gid=1000(myuser) groups=1000(myuser),990(adm),998(wheel)
[root@computername Arch]#
I recreated the user with uid 1000 because I noticed that the command ./arch config --default-user myuser
set the DefaultUid registry entry to 1000, even though that wasn't the uid of the user I specified. That didn't make any difference, though.
Describe the issue
After a successful installation, if you delete the files and attempt to install again in the same or different path, the message Error: 0x80070005
appears in the shell (using cmd) and nothing happens.
To Reproduce
Expected behavior
I would like to install a clean folder structure with a fresh installation
Screenshots
If applicable, add screenshots to help explain your problem.
Enviroment:
PS C:\Users\marco_o4lnkyr> D:\Arch.exe
Installing...
Installation Complete!
Press any key to continue...
PS C:\Users\marco_o4lnkyr> D:\Arch.exe
Error: 0x80070005
Press any key to continue...
PS C:\Users\marco_o4lnkyr> debian.exe
marco@DESKTOP-UV23V55:~$
I have trouble launching ArchWSL under Windows 10 build 1803. Debian installed from the store works fine, as you can see from the snippet I posted, while Arch.exe installs without errors and then fails to launch the shell with error 0x80070005. I have tried to uninstall it, disable and reenable WSL, reboot, without any change.
win10 \ 1709 \ 10.0.16299.98
ArchWSL is 18081100.
I just found the ssh doesn't work. Then I checked the ip status.
k@pc-hz20097394 : ~ [0] % ip addr
DONE truncated
Dump terminated
When I install texmaker (pacman -S texmaker) - which uses Qt5 - when starting it I get an error message that the dynamic loader couldn't find libQ5Core.so.5 (I've started Xming as an X-Server and set DISPLAY accordingly).
Looking at the ldconfig listing the library is shown and it is in the expected location in the file system.
This works without problem with Ubuntu/WSL
I've just installed Arch.exe on the Download folder 🤦♂️
and I tried to move the folder to my AppData, but for some reason it didn't work,
Do you have any ideas?
After upgrading glibc to 2.27, the instance will not start.
2.26 is working.
Would you mind providing the source code for Arch.exe including the steps and dependencies required for compiling it?
I have an idea, that sounds/is complicated,
Have a script, that is temporarily in the AWSL System, that runs the pacman-key
commands automatically, then removes itself on the first run?
I think it would be something like this
#!/bin/bash
pacman-key --init
pacman-key --populate
rm -f /path/to/autostart/pacman-key.sh
Or possibly have an alias setup like so
alias pac-key="pacman-key --init && pacman-key --populate"
So that they don't have to manually copy/paste two commands.
A problem I've noticed is that fakeroot is installed but the system doesn't know it so it tries to install it but the files are already there and it fails, I've deleted the files manually and reinstalled the package but you should fix that ;)
I'm in ver 18030400, how can I update to new version without delete the old one because I don't want to install packages and configure them again.
As the title says, I would like to find where is the rootfs stored.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.