Learning DevOps.
Currently I am a member in UESTC/CNSS and ByteDance/Infrastructure:
Linux installer for termux
License: GNU General Public License v3.0
proot warning: can't sanitize binding "/sdcard": No such file or directory
E: setgroups 65534 failed - setgroups (38: Function not implemented)
E: setegid 65534 failed - setegid (38: Function not implemented)
E: setegid 0 failed - setegid (38: Function not implemented)
E: setgroups 0 failed - setgroups (38: Function not implemented)
Reading package lists... Done
E: setgroups 65534 failed - setgroups (38: Function not implemented)
E: setegid 65534 failed - setegid (38: Function not implemented)
E: setegid 0 failed - setegid (38: Function not implemented)
E: setgroups 0 failed - setgroups (38: Function not implemented)
E: Method gave invalid 400 URI Failure message: Failed to setgroups - setgroups (38: Function not implemented)
E: Method http has died unexpectedly!
E: Sub-process http returned an error code (112)
root@localhost:~#
百度找不到答案
pkg in atilo-cn
的时候
返回Malformed line 1 in source list /data/data/com.termux/files/usr/etc/apt/sources.list (type)
E: The list of sources could not be read.
这个不支持x86_64吗?诺基亚n1安装时显示未知的架构
groups: cannot find name for group ID 3003
groups: cannot find name for group ID 9997 groups: cannot find name for group ID 20132
groups: cannot find name for group ID 50132
现在没有影响使用,不知道有没有什么未知问题
Android系统版本6.0.1
未root
termux为最新版本,内部包也是更新到最新了
本来就为了aur用的archlinux,结果makepkg都用不了
makpkg运行时不停报
/usr/share/makepkg/util/pkgbuild.sh:行69: /dev/fd/62: 没有那个文件或目录
和
/usr/share/makepkg/source/file.sh:行44: /dev/fd/62: 没有那个文件或目录
大概搜了一下隔壁TermuxArch
好像也有这样的问题
Total 761 kB/s | 39 MB 00:53
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : perl-Exporter-5.72-396.fc28.noarc 1/66
Installing : perl-Carp-1.42-396.fc28.noarch 2/66
Installing : perl-libs-4:5.26.2-414.fc28.aarch 3/66
Error unpacking rpm package perl-libs-4:5.26.2-414.fc28.aarch64
Error unpacking rpm package perl-libs-4:5.26.2-414.fc28.aarch64
error: unpacking of archive failed on file /usr/lib64/libperl.so.5.26;5beee106: cpio: symlink
Installing : libICE-1.0.9-12.fc28.aarch64 4/66
Error unpacking rpm package libICE-1.0.9-12.fc28.aarch64
Error unpacking rpm package libICE-1.0.9-12.fc28.aarch64
error: perl-libs-4:5.26.2-414.fc28.aarch64: install failed
error: unpacking of archive failed on file /usr/lib64/libICE.so.6;5beee106: cpio: symlink
Installing : libstdc++-8.2.1-5.fc28.aarch64 5/66
Error unpacking rpm package libstdc++-8.2.1-5.fc28.aarch64
Error unpacking rpm package libstdc++-8.2.1-5.fc28.aarch64
error: libICE-1.0.9-12.fc28.aarch64: install failed
error: unpacking of archive failed on file /usr/lib64/libstdc++.so.6;5beee106: cpio: symlink
Installing : libSM-1.2.2-8.fc28.aarch64 6/66
Error unpacking rpm package libSM-1.2.2-8.fc28.aarch64
Error unpacking rpm package libSM-1.2.2-8.fc28.aarch64
error: libstdc++-8.2.1-5.fc28.aarch64: install failed
error: unpacking of archive failed on file /usr/lib64/libSM.so.6;5beee106: cpio: symlink
Installing : perl-Scalar-List-Utils-3:1.49-2.f 7/66
Error unpacking rpm package perl-Scalar-List-Utils-3:1.49-2.fc28.aarch64
Error unpacking rpm package perl-Scalar-List-Utils-3:1.49-2.fc28.aarch64
error: libSM-1.2.2-8.fc28.aarch64: install failed
error: unpacking of archive failed: cpio: mkdir failed - Permission denied
Installing : libxshmfence-1.3-1.fc28.aarch64 8/66
Error unpacking rpm package libxshmfence-1.3-1.fc28.aarch64
Error unpacking rpm package libxshmfence-1.3-1.fc28.aarch64
error: perl-Scalar-List-Utils-3:1.49-2.fc28.aarch64: install failed
error: unpacking of archive failed on file /usr/lib64/libxshmfence.so.1;5beee106: cpio: symlink
Installing : libXau-1.0.8-11.fc28.aarch64 9/66
Error unpacking rpm package libXau-1.0.8-11.fc28.aarch64
Error unpacking rpm package libXau-1.0.8-11.fc28.aarch64
由于手机内置存储太小,想安装到存储卡或otc设备,请问目前支持吗
Flyme 6,ARM 64,apt install aptitude.
The following packages will be upgraded: perl-base
1 upgraded, 27 newly installed, 0 to remove and 6 not upgraded.
Need to get 0 B/10.2 MB of archives.
After this operation, 53.3 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
dpkg: error processing archive /var/cache/apt/archives/perl-base_5.22.19ubuntu0.3_arm64.deb (--unpack):
cannot get security labeling handle: No such file or directory
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
经查可能是 SElinux 问题,在 Linux_Delopy 应用中也有发生。
导入gpg key后
update gpg database卡死
After using atilo to install alpine, I found this article:
https://www.hax4us.com/2018/12/setup-basic-gui-in-termuxalpine.html
But it gets an error, after the last step "DISPLAY=:1 xfce4-terminal &", I get "D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open /etc/machine-id: no such file or directory", and when I launch the vnc client, all I get is black screen and a mouse cursor. I notice in the article, you refer to your other script for installing alpine - https://github.com/Hax4us/TermuxAlpine. So, I'm confused, which of your two install scripts should I use?
比如,Backpace键,效果是光标向右移动
[ Upgrading ... ]
bash: xmalloc: .././shell.c:1709: cannot allocate 10 bytes (0 bytes allocated)
[ All done ]
startdebian To start
$ startdebian
bash: xmalloc: .././shell.c:1709: cannot allocate 10 bytes (0 bytes allocated)
Failed to install debian on Android Pie because of proot's bug termux/proot#52
报错了怎么办啊proot warning: can't sanitize binding "/sdcard": No such file or directory
CANNOT LINK EXECUTABLE "/bin/bash": library "libandroid-support.so" not found
proot info: vpid 1: terminated with signal 6
look atilo_cn
line 86
😂
在ubnutu系统下,无法使用sudo
apt update
CANNOT LINK EXECUTABLE: could not load library "libcurl.so" needed by "/data/data/com.termux/files/usr/lib/apt/methods/https"; caused by could not load library "libnghttp2.so" needed by "libcurl.so"; caused by library "libnghttp2.so" not found
Reading package lists... Done
E: Method https has died unexpectedly!
E: Sub-process https returned an error code (1)
E: Method /data/data/com.termux/files/usr/lib/apt/methods/https did not start correctly
E: Failed to fetch https://mirrors.tuna.tsinghua.edu.cn/termux/dists/stable/InRelease
E: Some index files failed to download. They have been ignored, or old ones used instead.
atilo install ubuntu
[ 检查依赖中 ]
sed: tmp.html: No such file or directory
rm: can't remove 'tmp.html': No such file or directory
sed: tmp.html: No such file or directory
rm: can't remove 'tmp.html': No such file or directory
[ 正在下载中 ... ]
CANNOT LINK EXECUTABLE "curl": library "libz.so.1" not found
[ 解压中 ... ]
pv: ubuntu: No such file or directory
[ 配置中 ...]
/data/data/com.termux/files/usr/bin/atilo: line 282: /data/data/com.termux/files/home/.atilo/ubuntu/etc/resolv.conf: No such file or directory
/data/data/com.termux/files/usr/bin/atilo: line 283: /data/data/com.termux/files/home/.atilo/ubuntu/etc/profile: No such file or directory
/data/data/com.termux/files/usr/bin/atilo: line 287: etc/apt/sources.list: 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/.atilo/ubuntu, cwd = /, $PATH=(null))
fatal error: see proot --help
.
[ 全部完成 ]
startubuntu 以开始
Line 141 in 170ca63
just a typo...
我无法在termux下运行archlinux,具体如下:
$ atilo install arch
[ Checking for requirements ... ]
[ Downloading ... ]
-=O#- # # #
[ Extracting ... ]
0.00 B 0:00:00 [0.00 B/s] [<=> ]
[ Configuring ...]
/data/data/com.termux/files/usr/bin/atilo: line 213: /data/data/com.termux/files/home/.atilo/arch/etc/resolv.conf: No such file or directory
/data/data/com.termux/files/usr/bin/atilo: line 214: /data/data/com.termux/files/home/.atilo/arch/etc/profile: No such file or directory
[ Upgrading ... ]
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/.atilo/arch, cwd = /, $PATH=(null))
fatal error: see `proot --help`.
[ All done ]
startarch To start
$ startarch
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/.atilo/arch, cwd = /, $PATH=(null))
fatal error: see `proot --help`.
还请dalao给看看是怎么回事
bash: xmalloc: .././locale.c:81: cannot allocate 2 bytes (0 bytes allocated)
懵
安装后startubuntu,显示
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/.atilo/ubuntu, cwd = /, $PATH=(null))
fatal error: see `proot --help`.
华为P10 Android 8.0 未root
读写权限已开
Sent from my P10 using FastHub
/data/data/com.termux/files/usr/bin/atilo: line 282: /data/data/com.termux/files/home/.atilo/ubuntu/etc/resolv.conf: No such file or directory
/data/data/com.termux/files/usr/bin/atilo: line 283: /data/data/com.termux/files/home/.atilo/ubuntu/etc/profile: No such file or directory
/data/data/com.termux/files/usr/bin/atilo: line 287: etc/apt/sources.list: 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/.atilo/ubuntu, cwd = /, $PATH=(null))
fatal error: see proot --help
.
sudo: error in /etc/sudo.conf, line 0 while loading plugin "sudoers_policy"
sudo: unable to load /usr/lib/sudo/sudoers.so: /usr/lib/sudo/sudoers.so: cannot stat shared object: Bad file descriptor
sudo: fatal error, unable to load plugins
bash: xmalloc: .././shell.c:1709: cannot allocate 10 bytes (0 bytes allocated)
魅蓝note6 ,flyme6 ,base on Android 7.1.2
已经完全root(第三方rec刷了superuser),安装了busybox,f-droid版termux0.65,按照脚本执行无遗漏步骤,确认root已经授权给termux了
在Processing triggers for systemd(239-13)卡了6个小时,安装的是kali
cd home
./atilo
atilo ubuntu
等待安装
startubuntu 启动系统
can docker be installed under Kali?
thanks.
CentOS7 armv7版的有么
Linux deploy里面的centos7进VNC一片黑屏,想试试看termux能不能搞得通
用了一个月,感觉很好。真是感谢作者!
想请教一下,如果以后换手机,如果还想把装好的ubuntu环境移到新手机的termux,要如何备份转移操作?
proot info: vpid 1: terminated with signal 11
[ 全部完成 ]
startubuntu 以开始
$ startubuntu
:proot info: vpid 1: terminated with signal 11
Debian Arch 等发行版错误相同。
Xiaomi Mi 4,Android 8.1
本地已经下好的情况下还会重新下载镜像文件
并且下载完成后卡死
没有解压的显示
curl "https://mirrors.tuna.tsinghua.edu.cn/lxc-images/images/debian/stretch/${time_arch}/default/" -o tmp.html
ttime=sed -n '7p' tmp.html | cut -d'>' -f2 | cut -d'<' -f1
rm tmp.html
aarch64=https://mirror.tuna.tsinghua.edu.cn/lxc-images/images/debian/stretch/arm64/default/${ttime}rootfs.tar.xz
arm=https://mirror.tuna.tsinghua.edu.cn/lxc-images/images/debian/stretch/armhf/default/${ttime}rootfs.tar.xz
zip=pJx
WARNING: linker: Unsupported flags DT_FLAGS_1=0x8
WARNING: linker: Unsupported flags DT_FLAGS_1=0x8
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:-- 0 0 0 0 0 0 0 0 --:--100 169 100 169 0 0 380 0 --:--:-- --:--:-- --:--:-- 379
[/workdir]▶ echo $aarch64/workdir]▶
https://mirror.tuna.tsinghua.edu.cn/lxc-images/imagrootfs.tar.xzetch/arm64/default/
[
我把atlio获取debian url的命令单独拖出来运行,得到的结果如上。
我使用的是zsh,没用ohmyzsh.
将安装方法与启动器分离,以便适配更多的发行版。
Asus z00ad
atilo install ubuntults
[ Unknown architecture i686]
$ atilo install centos
[ Unknown architecture i686]
$ atilo install debian
[ Unknown architecture i686]
$ atilo install fedora
[ Unknown architecture i686]
$ atilo install arch
[ Unknown architecture i686]
$ atilo install alpine
[ Unknown architecture i686]
$
$ startkali
proot warning: can't sanitize binding "/sdcard": 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/.atilo/kali, 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.
$
I tried installing all of them but got the same error, here I tried kali
$ atilo install kali
[ Checking for requirements ... ]
[ Downloading ... ]
curl: (48) An unknown option was passed in to libcurl
[ Extracting ... ]
pv: kali: No such file or directory
[ Configuring ...]
/data/data/com.termux/files/usr/bin/atilo: line 268: /data/data/com.termux/files/home/.atilo/kali/etc/resolv.conf: No such file or directory
/data/data/com.termux/files/usr/bin/atilo: line 269: /data/data/com.termux/files/home/.atilo/kali/etc/profile: No such file or directory
[ Upgrading ... ]
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/.atilo/kali, cwd = /, $PATH=(null))
fatal error: see proot --help
.
[ All done ]
startkali To start
$ startkali
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/.atilo/kali, cwd = /, $PATH=(null))
fatal error: see proot --help
.
$ startfedora
dnf makecache
dnf install tigervnc-server
dnf groupinstall LXDE
$ startdebian
apt update
apt install --no-install-recommands tigervnc-standalone-server lxde
vncserver :1
vim ~/.vnc/xstartup
--- exec /etc/X11/xinit/xinitrc
+++ exec startlxde
killall Xvnc
rm -rf /tmp/X1*
vncserver :1
vim /etc/X11/Xvnc-session
--- exec /etc/X11/Xsession "$@"
+++ exex startlxde
killall Xtigervnc # 这里进程名为Xtigervnc,与Fedora不同
rm -rf /tmp/.X1*
前几行的意思应该是安装tigervnc-server和lxde,但是后面的啥意思啊,看得我一脸懵逼:sweat_smile::sweat_smile:
比如安装了arch,那termux-boot开机启动后会执行.termux/boot下的文件,比如创建一个start-arch文件,在这个文件中加上startarch就可以开机启动arch了
那怎么自动启动arch里安装的服务?
默认安装会报fatal错误,看了下代码发现需要把./atilo/kali/kail-linux(好像这个?)重新命名并放到./atilo/kail这个位置,删掉原kali文件夹,安装完毕后,出现bash: xmlalloc:.././locale.c:81:cannot allocate 2 bytes (0 bytes allocated)错误,有人知道这个问题怎么解决么?
How could I access folders of the phone by terminal? I am using the Debian.
++ command+=" $LANG=C.UTF-8"
this could help display Asian characters correctly
-- command+=" PATH=/bin:/usr/bin:/sbin:/usr/sbin"
++ command+=" PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
user installed packages (not from the package manager, but compiled and installed by user himself) are usually in /usr/local/(bin or sbin)
Linux distributions usually have /usr/games and /usr/local/games in $PATH, but they are barely used...
ubuntults
$ atilo install arch
[ Checking for requirements ... ]
[ Downloading ... ]
curl: (48) An unknown option was passed in to libcurl
[ Extracting ... ]
pv: arch: No such file or directory
[ Configuring ...]
/data/data/com.termux/files/usr/bin/atilo: line 268: /data/data/com.termux/files/home/.atilo/arch/etc/resolv.conf: No such file or directory
/data/data/com.termux/files/usr/bin/atilo: line 269: /data/data/com.termux/files/home/.atilo/arch/etc/profile: No such file or directory
[ Upgrading ... ]
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/.atilo/arch, cwd = /, $PATH=(null))
fatal error: see proot --help
.
[ All done ]
startarch To start
I have Toshiba Chromebook 2015 with Celeron CPU
Please, add i686 architecture to supported list.
When i run
$ atilo install alpine
[ Unknown architecture i686]
表示比较喜欢centos,但源上好像删了termux能用的那种,有什么解决方法没?另外你群号多少。。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.