termux / proot

An chroot-like implementation using ptrace.
https://wiki.termux.com/wiki/PRoot
Other
761 stars 160 forks source link

Termux-chroot not working on android 10 #99

Closed azadlaw11 closed 4 years ago

azadlaw11 commented 4 years ago

Termux-chroot in not working on android 10 Errorr message

$ termux-chroot proot error: execve("/usr/bin/bash"): No such file or directory proot info: It seems that termux-exec is active and is prepending /data/data/com.termux/... to executable paths If this is path is not available inside proot, please "unset LD_PRELOAD" fatal error: see proot --help. proot error: trying to remove a directory outside of '/data/data/com.termux/files/usr/tmp', please report this error. proot error: can't chmod '/data/data/com.termux/files/usr/tmp/proot-24191-5NrN0v': No such file or directory

Grimler91 commented 4 years ago

Duplicate of https://github.com/termux/proot/issues/95. As mentioned in that issue edit the termux-chroot script and add a line ARGS="$ARGS -b /apex:/apex" to fix it

azadlaw11 commented 4 years ago

@Grimler91 i dont know how to do it can u please explain it?

Grimler91 commented 4 years ago

I've pushed an update. Do an pkg upgrade in a few minutes and it will work

azadlaw11 commented 4 years ago

@Grimler91 thanks bro aprreciated.