AndronixOrigin icon indicating copy to clipboard operation
AndronixOrigin copied to clipboard

error setting up proot

Open AadhiAS opened this issue 3 years ago • 3 comments

I tried to install cli, it showed error. So I tried with desktop environment, it's showing the same error again. I don't know what to do

Setting up the installation of XFCE VNC kali-xfce.sh: line 106: kali-fs/etc/apt/apt.conf.d/80-retries: No such file or directory kali-xfce.sh: line 131: kali-fs/root/.bash_profile: No such file or directory proot warning: can't sanitize binding "kali-fs/root": 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 = /data/data/com.termux/files/home/kali-fs, cwd = /, $PATH=(null)) fatal error: see proot --help.

AadhiAS avatar Sep 05 '21 15:09 AadhiAS

Your rootfs isn't being downloaded properly. Please make sure you have a decent internet connection. Try to switch networks or use a VPN and make sure Github is allowed of your network.

ultrahacx avatar Sep 09 '21 06:09 ultrahacx

have kind of similar issue here: proot error complaining about '/usr/bin/env' not found. It did same error while trying to install arch or debian. Not sure it is related to network..

EDIT: I managed to install it on another device running different version of android and using same network so definitely not network related issue ...

To summarize:

  • did'nt work on Samsung Galaxy Note 8 N5110 running Lineage 16
  • worked flawlessly on Google Pixel 4a device running GrapheneOS

etienne-85 avatar Sep 15 '21 17:09 etienne-85

After some investigation on my side, it seems proot itself is producing this error in termux, as reported here. This would greatly explain why it worked on recent device but not the old galaxy note 8 architecture which seems to be the cause of failure. I don't know if OP's issue is the same... but in my case this is clearly unrelated to andronix..

etienne-85 avatar Sep 21 '21 12:09 etienne-85