Neo-Oli / termux-ubuntu

Ubuntu chroot on termux
866 stars 310 forks source link

Error after first installation at ./start.sh #33

Open deejayingo opened 6 years ago

deejayingo commented 6 years ago

I love ubuntu and it would be incredible to make it run on my galaxy s7 without root permission. I installed pkg install proot and pkg install termux-exec but I am not able to open ubuntu. Please help, i might oversee something.

"making start.sh executable You can now launch Ubuntu with the ./start.sh script $ ./start.sh proot warning: can't chdir("/root/.") in the guest rootfs: No such file or directory proot info: default working directory is now "/" proot error: '/usr/bin/env' not found (root = /data/data/com.termux/files/home/ubuntu-fs, cwd = /, $PATH=(null)) fatal error: see proot --help. $ PROOT_NO_SECCOMP=1 termux-chroot $ ./start.sh proot warning: can't sanitize binding "/sys/": No such file or directory proot warning: can't chdir("/root/.") in the guest rootfs: No such file or directory proot info: default working directory is now "/" proot error: '/usr/bin/env' not found (root = /home/ubuntu-fs, cwd = /, $PATH=(null)) 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.

$ apt update && apt upgradE"

pjbhakii commented 6 years ago

I have the same problem $ ./start.sh proot warning: can't chdir("/root/.") in the guest rootfs: No such file or directory proot info: default working directory is now "/" proot error: '/usr/bin/env' not found (root = /data/data/com.termux/files/home/termux-ubuntu/ubuntu-fs, cwd = /, $PATH=(null)) fatal error: see proot --help. $

pjbhakii commented 6 years ago

plz help

pjbhakii commented 6 years ago

Bro it's working in mine I don't know but automatically.. A-Rat termux-ubuntu Lazymux wifite Nethunter-In-Termux wpscan PassGen $ cd termux-ubuntu $ ls README.md start.sh ubuntu-fs binds termux-ubuntu ubuntu.sh $ cd termux-ubuntu $ ls README.md start.sh ubuntu.sh binds ubuntu-fs ubuntu.tar.gz $ ./start.sh groups: cannot find name for group ID 3003 groups: cannot find name for group ID 9997 groups: cannot find name for group ID 50271 root@localhost:~#

sinclaircornacchia commented 6 years ago

Neo oli i have the same problem after proot installing and restart ubuntu.sh as well

fillipefeitosa commented 6 years ago

Make sure proot is installed, remove your folder using rm -rf ~/folder/installed And try again.

I had this issue because I did not have proot installed correctly

sinclaircornacchia commented 6 years ago

sorry...anything change....same issue.

sinclaircornacchia commented 6 years ago

I've been created root and /usr/bin/env dir but I received one more issue

georgeokelly commented 5 years ago

same issue.

abhinavagrawal1995 commented 3 years ago

Same issue