-
-
Notifications
You must be signed in to change notification settings - Fork 161
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
pacman-key --populate archlinux hangs #33
Comments
|
@dmayle There are pacman-key issues as you state.
References: |
How is it controlled? What are the input lines? References: |
I'm not sure what's going on, just that gpg fails to locally sign keys, and the typical reason is lack of entropy available. Reads from /dev/random /dev/urandom succeed when run in a parallel session, so I'm not sure what's going on. pacman-key is just a bash script wrapper around gpg, so I'm try and execute the steps manually in order to proceed (I can sign one key successfully per boot, but pacman-key doesn't gracefully pause and resume key-signing sessions). After that, I came acress the havege daemon (haveged) https://unix.stackexchange.com/a/346088 and I'll try to install that once I'm up and running. |
This issue is closed since it does not concern |
i've run into this issue. true, it installs arch linux. without a way to update or install packages, it makes the script, well, useless. why install arch linux in termux if it isn't useable? |
@wulvyrn After installing Arch Linux in Termux, what does Try a simple command provided by TermuxArch, More information regarding the device you are using is also requested. See |
pacman -Syu provides this:
t results in the same output as above. bash setupTermuxArch.sh --sysinfo |
@wulvyrn thanks for the update with important information. Topics regarding x86 and x86_64 are hard for me to follow past image unpacking and configuration questions since I don't have devices with these types of architectures at hand. Try https://duckduckgo.com/?q=pacman+%22checking+keys+in+keyring%22 and post anything useful here. |
i've tried various things to fix that without success. breaking with SigLevel = Never yields this...
when trying to save a file in vi - i get no filesytem |
Arch Linux belongs in
|
Pacman -Syu gives the same ending error as the above trying to install vi. |
@wulvyrn Do you see anything that can be modified in |
Since this is an upstream issue with Arch Linux keyring and is not related to the functionality of |
Output from arm architectures. |
@wulvyrn seems this is the best place to discuss the topic we are discussing. A new option was recently added: rootdir. Example usage:
No, you should not. If you attempt to install outside of Termux app userspace, it will fail. The symlinks will probably not be created. Downloads is probably in noexec. |
From termux/termux-packages#2180 rng-tools could this be added.
|
|
I've been following this issue--thanks for your work!--since it has been preventing me from getting Arch working under termux on my pixelbook. I'm skeptical that it's an entropy problem. If you do "watch cat /proc/sys/kernel/random/entropy_avail" in a separate terminal, for me it hovers around 1000, which should be plenty. When I crank up the gpg debug level, the final message before hanging is "DSC SERIALNO openpgp". This is weird, since there is no reason for the gpg frontend to be sending messages to the serial card daemon. In any case, when I kill -9 the scdaemon, pacman-key --populate unblocks, and I get four or five keys locally signed. So that's progress, I suppose. But I still don't have a working Arch installation, because startarch gives me a shell that is rooted in /data/data/com.termux/files/home, and pacman keeps complaining about being unable to change the root directory. |
Here is a lead for this topic. https://duckduckgo.com?q=The+keyring+file+%2Fusr%2Fshare%2Fpacman%2Fkeyrings%2Farchlinux.gpg+does+not+exist&ia=web Do not hesitate to search at upstream for a solution.
Does this mean |
@cb125 Thank you for contributing d7578ef this important information.
It's not. Simply copy
Possibly a symlink problem. There may be symlinks that cannot be removed; So the process hangs… |
Whether the problem is upstream or not, it prevents the setupTermuxArch from creating a usable system. Here is a screenshot of the symptom: Thanks for the link to the "archlinux.gpg does not exist". But that's not the problem here. |
This commit c198a23 sums up our progress with x86. An information message about configuring the system is forthcoming. This issue prevents |
So on my x86 system, the install completes ok. I can then do pacman-key --init, pacman-key --populate, and pacman -Syu, which works fine, until it tries to update systemd. That doesn't work, complaining "could not change the root directory (Function not implemented)". So still no functioning system. |
@cb125 thanks for the update.
Were there any additional steps you took before they worked fine? If there were, they can be added to
More output requested.
|
A few places to continue this issue so we will have happy x86 Arch Linux Termux PRoot users sooner than later are: |
Issue termux/proot#10, " |
Here is the log of the last portion of the current install. The install crashes with a pacman error ("did you run pacman-key --init?"), I then do pacman-key --init, pacman-key --populate, I have to kill scdaemon to unblock the process, then upgrading the system ends with "can't change root directory" errors. If the included file is hard to read, download it and cat it in a terminal: |
@cb125 thanks for posting. Have you tried |
Upstream has resolved this issue termux/proot#10 (comment) after working on this topic afaict, @michalbednarski has found:
Use this code to resolve Arch x86 and x86_64 results are requested, arm results as well pertaining to |
i have a problem with mounting /proc startarch I made a clean install again I run Result is this: I have done everything i could find from google. Please help if you can! |
@barre121 thanks for using You should be able to open as many as eight open Arch Linux in Termux PRoot sessions through Termux. What kind of device are you using? Provide information with, |
clear all in Android The output of "bash setupTermuxArch.sh sysinfo" Welcome to Termux! Wiki: https://wiki.termux.com Search packages: pkg search 🕛 > 🕛 setupTermuxArch v1.3 will create a system information file. Ensure background data is not restricted. Run bash setupTermuxArch.sh help for additional information. Check the wireless connection if you do not see one o'clock 🕐 below. Checking prerequisites… 🕛 > 🕧 Prerequisites: OK Downloading TermuxArch… setupTermuxArch 100%[=====>] 153 --.-KB/s in 0s 🕛 > 🕐 TermuxArch download: OK 🕛 > 🕜 TermuxArch v1.3 integrity: OK Begin setupTermuxArch debug information. Disk report 4.63G on /data Tue Mar 13 23:56:58 EAT 2018 BASH_VERSINFO[0] = 4 cat /proc/cpuinfo results: Processor : AArch64 Processor rev 3 (aarch64) Hardware : Qualcomm Technologies, Inc MSM8992 dpkg --print-architecture result: aarch64 getprop ro.product.cpu.abi result: arm64-v8a getprop ro.product.device result: pplus Download directory information results. /sdcard/Download exists du -hs /data/data/com.termux/files/home/arch results: 1.7G /data/data/com.termux/files/home/arch ls -al /data/data/com.termux/files/home/arch results: total 80 uname -a results: Linux localhost 3.10.49-g07381fb #1 SMP PREEMPT Thu Aug 20 16:28:59 KST 2015 aarch64 Android End Post this information along with information regarding your issue at https://github.com/sdrausty/TermuxArch/issues. Include information about input and output. This debugging information is found in /data/data/com.termux/files/home/setupTermuxArchDebug4609.log. If you think screenshots will help in resolving this matter better, include them in your post as well. Submit this information if you plan to open up an issue at https://github.com/sdrausty/TermuxArch/issues to improve this installation script along with a screenshot of your topic. Include information about input and output. Thank you for using setupTermuxArch.sh v1.3 🏁 $ |
Try Check your state with |
i am sorry for the late answer dev! |
You are welcome. Thanks for using Termux with TermuxArch 🌻 |
Commit f16c27d adds Arch Linux IRC channel upstream contact information to the TermuxArch motd and logout.
|
I think there's not enough entropy in the system, but I don't know how to increase it
The text was updated successfully, but these errors were encountered: