Skip to content
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

Alpine linux: apk add ca-certificates - throw: script exited with error 127 #57

Open
wharsojo opened this issue Mar 21, 2019 · 2 comments

Comments

@wharsojo
Copy link

➜ ~ setup-alpine
[] Download: alpine-minirootfs-3.9.2-aarch64.tar.gz ...
[
] Extract file-system
[] Configure linux
[
] Start Linux
proot --link2symlink -0 -b /dev -b /sys -b /proc -b /storage -b /storage/3637-6263/Android/data/com.termux:/root/sdcard -b /storage/emulated/0:/root/internal -b /data/data/com.termux/files/home/.mytermux/gitea-app:/root/gitea-app -b /data/data/com.termux/files/home -r /data/data/com.termux/files/home/.mytermux/linux/alpine/linux-fs -w /root /usr/bin/env -i HOME=/root TERM=xterm-256color LANG=C.UTF-8 PATH=/usr/local/sbin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin /bin/sh --login
[*] Alpine Linux is starting v3.9.2
localhost:# uname -a
Linux localhost 4.9.59-15193909 #1 SMP PREEMPT Tue Jan 22 10:19:41 KST 2019 aarch64 Linux
localhost:
# apk add ca-certificates
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz
(1/1) Installing ca-certificates (20190108-r0)
Executing busybox-1.29.3-r10.trigger
ERROR: busybox-1.29.3-r10.trigger: script exited with error 127
Executing ca-certificates-20190108-r0.trigger
ERROR: ca-certificates-20190108-r0.trigger: script exited with error 127

@wharsojo
Copy link
Author

when run proot with: export PROOT_VERBOSE=2

root info: vpid 4: translate("/" + "usr/share/ca-certificates/mozilla")
proot info: vpid 4: -> "/data/data/com.termux/files/home/.mytermux/linux/alpine/linux-fs/usr/share/ca-certificates/mozilla" proot info: vpid 4: translate("/" + "usr/share/ca-certificates")
proot info: vpid 4: -> "/data/data/com.termux/files/home/.mytermux/linux/alpine/linux-fs/usr/share/ca-certificates"
proot info: vpid 4: translate("/" + "etc/ca-certificates/update.d") proot info: vpid 4: -> "/data/data/com.termux/files/home/.mytermux/linux/alpine/linux-fs/etc/ca-certificates/update.d"
proot info: vpid 4: translate("/" + "etc/ca-certificates") proot info: vpid 4: -> "/data/data/com.termux/files/home/.mytermux/linux/alpine/linux-fs/etc/ca-certificates"
proot info: vpid 4: translate("/" + "usr/local/share/ca-certificates") proot info: vpid 4: -> "/data/data/com.termux/files/home/.mytermux/linux/alpine/linux-fs/usr/local/share/ca-certificates"
Executing busybox-1.29.3-r10.trigger
proot info: vpid 4: translate("/" + "var/cache/misc/busybox-1.29.3-r10.trigger") proot info: vpid 4: -> "/data/data/com.termux/files/home/.mytermux/linux/alpine/linux-fs/var/cache/misc/busybox-1.29.3-r10.trigger"
proot info: vpid 5: pid 15026
proot info: vpid 5: translate("/" + ".") proot info: vpid 5: -> "/data/data/com.termux/files/home/.mytermux/linux/alpine/linux-fs/."
proot info: vpid 5: exited with status 127
ERROR: busybox-1.29.3-r10.trigger: script exited with error 127

@wharsojo
Copy link
Author

proot version (5.1.107-20).

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

No branches or pull requests

1 participant