cornjosh / Aminer

⛏️ Mining with Android devices. 使用 Android 设备来挖矿.
https://linkyou.top/archives/83/
BSD 3-Clause "New" or "Revised" License
228 stars 51 forks source link

Proot error (Huawei V20 without root) #4

Open gufengm opened 3 years ago

gufengm commented 3 years ago

[INFO] Device architecture :- armhf [INFO] Downloading Ubuntu image --2021-04-21 15:42:55-- https://mirrors.ustc.edu.cn/ubuntu-cdimage/ubuntu-base/releases/20.04.1/release/ubuntu-base-20.04.1-base-armhf.tar.gz Resolving mirrors.ustc.edu.cn... 2001:da8:d800:95::110, 202.141.160.110 Connecting to mirrors.ustc.edu.cn|2001:da8:d800:95::110|:443... connected. Unable to establish SSL connection.

Install Ubuntu

[INFO] Create /data/data/com.termux/files/home/ubuntu-in-termux/ubuntu-fs [INFO] Decompressing the ubuntu rootfs

gzip: stdin: unexpected end of file tar: Child returned status 1 tar: Error is not recoverable: exiting now /proc/self/fd/63: line 111: etc/resolv.conf: No such file or directory [INFO] Writing stubs /proc/self/fd/63: line 116: usr/bin/groups: No such file or directory [INFO] Successfully wrote stubs [INFO] Creating the start script [INFO] Delete Ubuntu image [INFO] Ubuntu 20.04.1 install complete [INFO] Ubuntu setup complete [INFO] Setting termux's .bashrc [INFO] Setting Ubuntu's .bashrc and service.sh /proc/self/fd/63: line 342: /data/data/com.termux/files/home/ubuntu-in-termux/ubuntu-fs/root/service.sh: No such file or directory /proc/self/fd/63: line 379: /data/data/com.termux/files/home/ubuntu-in-termux/ubuntu-fs/root/.bashrc: No such file or directory [INFO] Start up Ubuntu... proot warning: can't sanitize binding "ubuntu-fs/tmp": 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/ubuntu-in-termux/ubuntu-fs, cwd = /, $PATH=(null)) fatal error: see proot --help. $

cornjosh commented 3 years ago

The real error should be Unable to establish SSL connection. You can try to upgrade the CA software package, or block ipv6 and try again to solve this problem