在给安卓Pixel4安装Temux时发生了一个报错,看这个意思是proot有点问题。
$ ./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.
查了一下,发现github上有位外国大佬解决了这个问题,copy过来解决方案:
就把冒号后面的执行一遍即可。
that repo works!!!
that help me fixed error above
Update termux: apt-get update && apt-get upgrade -y
Install wget: apt-get install wget -y
Install proot: apt-get install proot -y
Install git: apt-get install git -y
Go to HOME folder: cd ~
Download script: git clone https://github.com/MFDGaming/ubuntu-in-termux.git
Go to script folder: cd ubuntu-in-termux
Give execution permission: chmod +x ubuntu.sh
Run the script: ./ubuntu.sh -y
Now just start ubuntu: ./startubuntu.sh
用户在尝试在安卓Pixel4手机上使用Temux安装Ubuntu时遇到proot错误,提示/usr/bin/env未找到。从GitHub上的解决方案,用户需要更新Termux,安装wget、proot和git,然后克隆并运行特定脚本来解决问题。
1万+

被折叠的 条评论
为什么被折叠?



