Giter Club home page Giter Club logo

Comments (1)

liner20004 avatar liner20004 commented on May 23, 2024

我删除了Termux,重新安装了一遍,观察到在安装过程中,就已经出现了XMRIG is not found, exiting,Log如下:

Welcome to Termux!

Community forum: https://termux.com/community
Gitter chat: https://gitter.im/termux/termux
IRC channel: #termux on libera.chat

Working with packages:

  • Search packages: pkg search
  • Install a package: pkg install
  • Upgrade packages: pkg upgrade

Subscribing to additional repositories:

  • Root: pkg install root-repo
  • X11: pkg install x11-repo

Report issues at https://termux.com/issues

~ $ bash <(curl -fsSL git.io/aminer) -u 835caPaDQpiQQEeNmkx51G8jC9ARVrZFAcjbUByhSzUjFdi2HoM16yH93yLxJCAHtkHhTTVspomPZcLJhxpVhZE5Cr2AnXA

Aminer

Aminer is a script that help you install miner software XMRIG on Android device. @v1.0
You can find the source code from https://github.com/cornjosh/Aminer

You are already understand the risks of the script.(Y/n)y
[INFO] Upgrading packages
Testing the available mirrors:
[] https://packages-cf.termux.org/apt/termux-main: ok
[
] https://deb.kcubeterm.me/termux-main: bad
[] https://termux.mentality.rip/termux-main: ok
[
] https://grimler.se/termux-packages-24: ok
[*] https://termux.librehat.com/apt/termux-main: ok
Picking mirror: https://termux.mentality.rip/termux-main
Get:1 https://termux.mentality.rip/termux-main stable InRelease [14.0 kB]
Get:2 https://termux.mentality.rip/termux-main stable/main aarch64 Packages [372 kB]
Fetched 386 kB in 5s (83.6 kB/s)
Reading package lists... Done
Building dependency tree... Done
24 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
The following packages will be upgraded:
apt bash ca-certificates command-not-found
curl dash debianutils ed libcrypt libcurl
libexpat libgnutls libnghttp2 libssh2
libtirpc libunistring nano ncurses openssl
termux-keyring termux-licenses termux-tools
unbound util-linux
24 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 8775 kB of archives.
After this operation, 3240 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://termux.mentality.rip/termux-main stable/main aarch64 libcurl aarch64 7.82.0 [908 kB]
Get:2 https://termux.mentality.rip/termux-main stable/main aarch64 curl aarch64 7.82.0 [172 kB]
Get:3 https://termux.mentality.rip/termux-main stable/main aarch64 libnghttp2 aarch64 1.47.0 [91.6 kB]
Get:4 https://termux.mentality.rip/termux-main stable/main aarch64 ca-certificates all 1:2022.02.01 [221 kB]
Get:5 https://termux.mentality.rip/termux-main stable/main aarch64 openssl aarch64 3.0.1-1 [1575 kB]
Get:6 https://termux.mentality.rip/termux-main stable/main aarch64 libssh2 aarch64 1.10.0-2 [182 kB]
Get:7 https://termux.mentality.rip/termux-main stable/main aarch64 libunistring aarch64 1.0 [521 kB]
Get:8 https://termux.mentality.rip/termux-main stable/main aarch64 libexpat aarch64 2.4.7 [80.5 kB]
Get:9 https://termux.mentality.rip/termux-main stable/main aarch64 unbound aarch64 1.13.2-3 [580 kB]
Get:10 https://termux.mentality.rip/termux-main stable/main aarch64 libgnutls aarch64 3.7.3 [686 kB]
Get:11 https://termux.mentality.rip/termux-main stable/main aarch64 dash aarch64 0.5.11.5-1 [65.6 kB]
Get:12 https://termux.mentality.rip/termux-main stable/main aarch64 ncurses aarch64 6.3 [511 kB]
Get:13 https://termux.mentality.rip/termux-main stable/main aarch64 util-linux aarch64 2.37.4 [719 kB]
Get:14 https://termux.mentality.rip/termux-main stable/main aarch64 termux-tools all 0.167 [22.7 kB]
Get:15 https://termux.mentality.rip/termux-main stable/main aarch64 termux-keyring all 3.0 [15.1 kB]
Get:16 https://termux.mentality.rip/termux-main stable/main aarch64 termux-licenses all 2.0-2 [52.0 kB]
Get:17 https://termux.mentality.rip/termux-main stable/main aarch64 apt aarch64 2.3.15-1 [966 kB]
Get:18 https://termux.mentality.rip/termux-main stable/main aarch64 bash aarch64 5.1.16 [837 kB]
Get:19 https://termux.mentality.rip/termux-main stable/main aarch64 libcrypt aarch64 0.2-5 [8720 B]
Get:20 https://termux.mentality.rip/termux-main stable/main aarch64 command-not-found aarch64 1.74 [165 kB]
Get:21 https://termux.mentality.rip/termux-main stable/main aarch64 debianutils aarch64 5.7 [19.0 kB]
Get:22 https://termux.mentality.rip/termux-main stable/main aarch64 ed aarch64 1.18 [39.4 kB]
Get:23 https://termux.mentality.rip/termux-main stable/main aarch64 libtirpc aarch64 1.3.2-1 [122 kB]
Get:24 https://termux.mentality.rip/termux-main stable/main aarch64 nano aarch64 6.2 [216 kB]
Fetched 8775 kB in 15s (587 kB/s)
(Reading database ... 4112 files and directories currently installed.)
Preparing to unpack .../libcurl_7.82.0_aarch64.deb ...
Unpacking libcurl (7.82.0) over (7.81.0) ...
Setting up libcurl (7.82.0) ...
(Reading database ... 4112 files and directories currently installed.)
Preparing to unpack .../curl_7.82.0_aarch64.deb ...
Unpacking curl (7.82.0) over (7.81.0) ...
Setting up curl (7.82.0) ...
(Reading database ... 4112 files and directories currently installed.)
Preparing to unpack .../libnghttp2_1.47.0_aarch64.deb ...
Unpacking libnghttp2 (1.47.0) over (1.46.0) ...
Setting up libnghttp2 (1.47.0) ...
(Reading database ... 4112 files and directories currently installed.)
Preparing to unpack .../ca-certificates_1%3a2022.02.01_all.deb ...
Unpacking ca-certificates (1:2022.02.01) over (1:2021-10-26-0) ...
Setting up ca-certificates (1:2022.02.01) ...
(Reading database ... 4112 files and directories currently installed.)
Preparing to unpack .../openssl_3.0.1-1_aarch64.deb ...
Unpacking openssl (3.0.1-1) over (1.1.1l) ...
Setting up openssl (3.0.1-1) ...

Configuration file '/data/data/com.termux/files/usr/etc/tls/openssl.cnf'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** openssl.cnf (Y/I/N/O/D/Z) [default=N] ? n
(Reading database ... 4146 files and directories currently installed.)
Preparing to unpack .../libssh2_1.10.0-2_aarch64.deb ...
Unpacking libssh2 (1.10.0-2) over (1.10.0) ...
Setting up libssh2 (1.10.0-2) ...
(Reading database ... 4146 files and directories currently installed.)
Preparing to unpack .../libunistring_1.0_aarch64.deb ...
Unpacking libunistring (1.0) over (0.9.10-5) ...
Setting up libunistring (1.0) ...
(Reading database ... 4148 files and directories currently installed.)
Preparing to unpack .../libexpat_2.4.7_aarch64.deb ...
Unpacking libexpat (2.4.7) over (2.4.2) ...
Setting up libexpat (2.4.7) ...
(Reading database ... 4148 files and directories currently installed.)
Preparing to unpack .../unbound_1.13.2-3_aarch64.deb ...
Unpacking unbound (1.13.2-3) over (1.13.2-1) ...
Setting up unbound (1.13.2-3) ...
(Reading database ... 4148 files and directories currently installed.)
Preparing to unpack .../libgnutls_3.7.3_aarch64.deb ...
Unpacking libgnutls (3.7.3) over (3.6.16-1) ...
Setting up libgnutls (3.7.3) ...
(Reading database ... 4148 files and directories currently installed.)
Preparing to unpack .../dash_0.5.11.5-1_aarch64.deb ...
Unpacking dash (0.5.11.5-1) over (0.5.11.5) ...
Setting up dash (0.5.11.5-1) ...
(Reading database ... 4148 files and directories currently installed.)
Preparing to unpack .../ncurses_6.3_aarch64.deb ...
Unpacking ncurses (6.3) over (6.2.20200725-6) ...
Setting up ncurses (6.3) ...
(Reading database ... 4152 files and directories currently installed.)
Preparing to unpack .../util-linux_2.37.4_aarch64.deb ...
Unpacking util-linux (2.37.4) over (2.37.2-1) ...
Setting up util-linux (2.37.4) ...
(Reading database ... 4157 files and directories currently installed.)
Preparing to unpack .../termux-tools_0.167_all.deb ...
Unpacking termux-tools (0.167) over (0.155) ...
Setting up termux-tools (0.167) ...

Configuration file '/data/data/com.termux/files/usr/etc/motd'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** motd (Y/I/N/O/D/Z) [default=N] ? n
(Reading database ... 4157 files and directories currently installed.)
Preparing to unpack .../termux-keyring_3.0_all.deb ...
Unpacking termux-keyring (3.0) over (2.4) ...
Setting up termux-keyring (3.0) ...
(Reading database ... 4156 files and directories currently installed.)
Preparing to unpack .../termux-licenses_2.0-2_all.deb ...
Unpacking termux-licenses (2.0-2) over (2.0-1) ...
Setting up termux-licenses (2.0-2) ...
(Reading database ... 4156 files and directories currently installed.)
Preparing to unpack .../apt_2.3.15-1_aarch64.deb ...
Unpacking apt (2.3.15-1) over (2.3.13-3) ...
Setting up apt (2.3.15-1) ...

Configuration file '/data/data/com.termux/files/usr/etc/apt/sources.list'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** sources.list (Y/I/N/O/D/Z) [default=N] ? n
(Reading database ... 4156 files and directories currently installed.)
Preparing to unpack .../bash_5.1.16_aarch64.deb ...
Unpacking bash (5.1.16) over (5.1.12-2) ...
Setting up bash (5.1.16) ...
(Reading database ... 4156 files and directories currently installed.)
Preparing to unpack .../libcrypt_0.2-5_aarch64.deb ...
Unpacking libcrypt (0.2-5) over (0.2-3) ...
Setting up libcrypt (0.2-5) ...
(Reading database ... 4156 files and directories currently installed.)
Preparing to unpack .../command-not-found_1.74_aarch64.deb ...
Unpacking command-not-found (1.74) over (1.71) ...
Preparing to unpack .../debianutils_5.7_aarch64.deb ...
Unpacking debianutils (5.7) over (5.5) ...
Preparing to unpack .../archives/ed_1.18_aarch64.deb ...
Unpacking ed (1.18) over (1.17-4) ...
Preparing to unpack .../libtirpc_1.3.2-1_aarch64.deb ...
Unpacking libtirpc (1.3.2-1) over (1.3.2) ...
Preparing to unpack .../archives/nano_6.2_aarch64.deb ...
Unpacking nano (6.2) over (6.0) ...
Setting up libtirpc (1.3.2-1) ...
Setting up ed (1.18) ...
Setting up command-not-found (1.74) ...
Setting up nano (6.2) ...
update-alternatives: using /data/data/com.termux/files/usr/bin/nano to provide /data/data/com.termux/files/usr/bin/editor (editor) in auto mode
Setting up debianutils (5.7) ...
Checking availability of current mirror: ok
Hit:1 https://termux.mentality.rip/termux-main stable InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[INFO] Installing dependency
Checking availability of current mirror: ok
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
libtalloc libuuid
The following NEW packages will be installed:
libtalloc libuuid proot wget
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 394 kB of archives.
After this operation, 1339 kB of additional disk space will be used.
Get:1 https://termux.mentality.rip/termux-main stable/main aarch64 libtalloc aarch64 2.3.3 [31.7 kB]
Get:2 https://termux.mentality.rip/termux-main stable/main aarch64 libuuid aarch64 1.0.3-4 [6514 B]
Get:3 https://termux.mentality.rip/termux-main stable/main aarch64 proot aarch64 5.1.107-53 [81.4 kB]
Get:4 https://termux.mentality.rip/termux-main stable/main aarch64 wget aarch64 1.21.3-1 [274 kB]
Fetched 394 kB in 6s (70.9 kB/s)
Selecting previously unselected package libtalloc.
(Reading database ... 4158 files and directories currently installed.)
Preparing to unpack .../libtalloc_2.3.3_aarch64.deb ...
Unpacking libtalloc (2.3.3) ...
Selecting previously unselected package libuuid.
Preparing to unpack .../libuuid_1.0.3-4_aarch64.deb ...
Unpacking libuuid (1.0.3-4) ...
Selecting previously unselected package proot.
Preparing to unpack .../proot_5.1.107-53_aarch64.deb ...
Unpacking proot (5.1.107-53) ...
Selecting previously unselected package wget.
Preparing to unpack .../wget_1.21.3-1_aarch64.deb ...
Unpacking wget (1.21.3-1) ...
Setting up libuuid (1.0.3-4) ...
Setting up wget (1.21.3-1) ...
Setting up libtalloc (2.3.3) ...
Setting up proot (5.1.107-53) ...
[INFO] Create /data/data/com.termux/files/home/ubuntu-in-termux

Download Ubuntu

[INFO] Device architecture :- arm64
[INFO] Downloading Ubuntu image
--2022-03-10 14:35:30-- https://mirrors.ustc.edu.cn/ubuntu-cdimage/ubuntu-base/releases/20.04.1/release/ubuntu-base-20.04.1-base-arm64.tar.gz
Resolving mirrors.ustc.edu.cn... 202.141.160.110, 202.141.176.110, 2001:da8:d800:95::110
Connecting to mirrors.ustc.edu.cn|202.141.160.110|:443... failed: Connection timed out.
Connecting to mirrors.ustc.edu.cn|202.141.176.110|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 26222513 (25M) [application/octet-stream]
Saving to: ‘ubuntu.tar.gz’

ubuntu.tar.g 0% 0 --.-KB/s ubuntu.tar.g 0% 87.75K 312KB/s ubuntu.tar.g 0% 135.75K 271KB/s ubuntu.tar.g 1% 391.75K 473KB/s ubuntu.tar.g 3% 807.75K 719KB/s ubuntu.tar.g 5% 1.35M 1.01MB/s ubuntu.tar.g 8% 2.12M 1.37MB/s ubuntu.tar.g 10% 2.62M 1.45MB/s ubuntu.tar.g 11% 3.00M 1.50MB/s ubuntu.tar.g 14% 3.55M 1.57MB/s ubuntu.tar.g 16% 4.08M 1.64MB/s ubuntu.tar.g 18% 4.58M 1.69MB/s ubuntu.tar.g 20% 5.16M 1.74MB/s ubuntu.tar.g 23% 5.90M 1.85MB/s eta 10s ubuntu.tar.g 24% 6.15M 1.81MB/s eta 10s ubuntu.tar.g 26% 6.60M 1.83MB/s eta 10s ubuntu.tar.g 28% 7.04M 1.84MB/s eta 10s ubuntu.tar.g 30% 7.63M 1.86MB/s eta 10s ubuntu.tar.g 31% 7.98M 1.91MB/s eta 9s ubuntu.tar.g 33% 8.38M 2.05MB/s eta 9s ubuntu.tar.g 35% 8.76M 2.14MB/s eta 9s ubuntu.tar.g 36% 9.01M 2.14MB/s eta 9s ubuntu.tar.g 39% 9.79M 2.17MB/s eta 9s ubuntu.tar.g 41% 10.43M 2.15MB/s eta 8s ubuntu.tar.g 43% 10.94M 2.13MB/s eta 8s ubuntu.tar.g 44% 11.13M 2.05MB/s eta 8s ubuntu.tar.g 47% 11.94M 2.11MB/s eta 8s ubuntu.tar.g 48% 12.18M 2.07MB/s eta 8s ubuntu.tar.g 50% 12.63M 2.03MB/s eta 6s ubuntu.tar.g 53% 13.43M 2.11MB/s eta 6s ubuntu.tar.g 55% 13.90M 2.05MB/s eta 6s ubuntu.tar.g 57% 14.29M 2.08MB/s eta 6s ubuntu.tar.g 59% 14.85M 2.07MB/s eta 6s ubuntu.tar.g 61% 15.37M 2.08MB/s eta 5s ubuntu.tar.g 62% 15.73M 2.06MB/s eta 5s ubuntu.tar.g 65% 16.43M 2.20MB/s eta 5s ubuntu.tar.g 67% 16.94M 2.17MB/s eta 5s ubuntu.tar.g 69% 17.38M 2.23MB/s eta 5s ubuntu.tar.g 72% 18.20M 2.27MB/s eta 3s ubuntu.tar.g 73% 18.43M 2.18MB/s eta 3s ubuntu.tar.g 76% 19.04M 2.16MB/s eta 3s ubuntu.tar.g 78% 19.54M 2.21MB/s eta 3s ubuntu.tar.g 80% 20.15M 2.31MB/s eta 3s ubuntu.tar.g 82% 20.58M 2.16MB/s eta 2s ubuntu.tar.g 83% 20.94M 2.24MB/s eta 2s ubuntu.tar.g 84% 21.05M 2.09MB/s eta 2s ubuntu.tar.g 85% 21.27M 2.01MB/s eta 2s ubuntu.tar.g 86% 21.69M 1.98MB/s eta 2s ubuntu.tar.g 87% 21.94M 2.02MB/s eta 2s ubuntu.tar.g 90% 22.55M 1.93MB/s eta 2s ubuntu.tar.g 92% 23.07M 2.00MB/s eta 2s ubuntu.tar.g 95% 23.94M 2.05MB/s eta 2s ubuntu.tar.g 96% 24.07M 1.95MB/s eta 0s ubuntu.tar.g 98% 24.73M 2.00MB/s eta 0s ubuntu.tar.g 100% 25.01M 2.03MB/s in 12s

2022-03-10 14:36:14 (2.00 MB/s) - ‘ubuntu.tar.gz’ saved [26222513/26222513]

Install Ubuntu

[INFO] Create /data/data/com.termux/files/home/ubuntu-in-termux/ubuntu-fs
[INFO] Decompressing the ubuntu rootfs
tar: usr/bin/bzcat: Cannot hard link to ‘usr/bin/bunzip2’: Permission denied
tar: usr/bin/bzip2: Cannot hard link to ‘usr/bin/bunzip2’: Permission denied
tar: usr/bin/perl5.30.0: Cannot hard link to ‘usr/bin/perl’: Permission denied
tar: usr/bin/uncompress: Cannot hard link to ‘usr/bin/gunzip’: Permission denied
tar: Exiting with failure status due to previous errors
[INFO] Fixing the resolv.conf
[INFO] Writing stubs
[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
[INFO] Setting Ubuntu's .bashrc and install.sh
[INFO] Start up Ubuntu...

Aminer is starting

[INFO]Killing other Aminer
Error: /proc must be mounted
To mount /proc at boot you need an /etc/fstab line like:
proc /proc proc defaults
In the meantime, run "mount proc /proc -t proc"

Usage:
kill [options] [...]

Options:
[...] send signal to every listed
-, -s, --signal
specify the to be sent
-l, --list=[] list all signal names, or convert one to a name
-L, --table list all signal names in a nice table

-h, --help display this help and exit
-V, --version output version information and exit

For more details see kill(1).
Error: /proc must be mounted
To mount /proc at boot you need an /etc/fstab line like:
proc /proc proc defaults
In the meantime, run "mount proc /proc -t proc"

Usage:
kill [options] [...]

Options:
[...] send signal to every listed
-, -s, --signal
specify the to be sent
-l, --list=[] list all signal names, or convert one to a name
-L, --table list all signal names in a nice table

-h, --help display this help and exit
-V, --version output version information and exit

For more details see kill(1).
Error: /proc must be mounted
To mount /proc at boot you need an /etc/fstab line like:
proc /proc proc defaults
In the meantime, run "mount proc /proc -t proc"
[ERROR]XMRIG is not found, exiting

from aminer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.