MFDGaming / ubuntu-in-termux

This is a script by which you can install Ubuntu in your termux application without a rooted device

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Instalation error

pavlos-nikou opened this issue · comments

Hello I've been having some issues with instalation

when I run ./Ubuntu.sh I got the following :
$ cd ubuntu-in-termux
$ ls
README.md ubuntu.sh
$ chmod +x ubuntu.sh
$ ./ubuntu.sh
[05:38:58 AM] [QUESTION]: Do you want to install ubuntu-in-termux? [Y/n] y
[05:38:58 AM] [Installer thread/INFO]: Downloading the ubuntu rootfs, please wait...
CANNOT LINK EXECUTABLE "wget": library "libssl.so.3" not found: needed by main executable
[05:38:58 AM] [Installer thread/INFO]: Download complete!
[05:38:58 AM] [Installer thread/INFO]: Decompressing the ubuntu rootfs, please wait...
WARNING: linker: Warning: failed to find generated linker configuration from "/linkerconfig/ld.config.txt"
tar: /data/data/com.termux/files/home/ubuntu-in-termux/ubuntu.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
[05:38:58 AM] [Installer thread/INFO]: The ubuntu rootfs have been successfully decompressed!
[05:38:58 AM] [Installer thread/INFO]: Fixing the resolv.conf, so that you have access to the internet
./ubuntu.sh: line 50: etc/resolv.conf: No such file or directory
[05:38:58 AM] [Installer thread/INFO]: Writing stubs, please wait...
./ubuntu.sh: line 55: usr/bin/groups: No such file or directory
[05:38:58 AM] [Installer thread/INFO]: Successfully wrote stubs!
[05:38:58 AM] [Installer thread/INFO]: Creating the start script, please wait...
[05:38:58 AM] [Installer thread/INFO]: The start script has been successfully created!
[05:38:58 AM] [Installer thread/INFO]: Fixing shebang of startubuntu.sh, please wait...
[05:38:58 AM] [Installer thread/INFO]: Successfully fixed shebang of startubuntu.sh!
[05:38:58 AM] [Installer thread/INFO]: Making startubuntu.sh executable please wait...
[05:38:58 AM] [Installer thread/INFO]: Successfully made startubuntu.sh executable
[05:38:58 AM] [Installer thread/INFO]: Cleaning up please wait...
[05:38:58 AM] [Installer thread/INFO]: Successfully cleaned up!
[05:38:58 AM] [Installer thread/INFO]: The installation has been completed! You can now launch Ubuntu with ./startubuntu.sh
$ ./startubuntu.sh
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.

I don't know where the problem is and how to fix in I think some files are missing but ii need your help
Thanks!!

commented

Hello I've been having some issues with instalation

when I run ./Ubuntu.sh I got the following : $ cd ubuntu-in-termux $ ls README.md ubuntu.sh $ chmod +x ubuntu.sh $ ./ubuntu.sh [05:38:58 AM] [QUESTION]: Do you want to install ubuntu-in-termux? [Y/n] y [05:38:58 AM] [Installer thread/INFO]: Downloading the ubuntu rootfs, please wait... CANNOT LINK EXECUTABLE "wget": library "libssl.so.3" not found: needed by main executable [05:38:58 AM] [Installer thread/INFO]: Download complete! [05:38:58 AM] [Installer thread/INFO]: Decompressing the ubuntu rootfs, please wait... WARNING: linker: Warning: failed to find generated linker configuration from "/linkerconfig/ld.config.txt" tar: /data/data/com.termux/files/home/ubuntu-in-termux/ubuntu.tar.gz: Cannot open: No such file or directory tar: Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now [05:38:58 AM] [Installer thread/INFO]: The ubuntu rootfs have been successfully decompressed! [05:38:58 AM] [Installer thread/INFO]: Fixing the resolv.conf, so that you have access to the internet ./ubuntu.sh: line 50: etc/resolv.conf: No such file or directory [05:38:58 AM] [Installer thread/INFO]: Writing stubs, please wait... ./ubuntu.sh: line 55: usr/bin/groups: No such file or directory [05:38:58 AM] [Installer thread/INFO]: Successfully wrote stubs! [05:38:58 AM] [Installer thread/INFO]: Creating the start script, please wait... [05:38:58 AM] [Installer thread/INFO]: The start script has been successfully created! [05:38:58 AM] [Installer thread/INFO]: Fixing shebang of startubuntu.sh, please wait... [05:38:58 AM] [Installer thread/INFO]: Successfully fixed shebang of startubuntu.sh! [05:38:58 AM] [Installer thread/INFO]: Making startubuntu.sh executable please wait... [05:38:58 AM] [Installer thread/INFO]: Successfully made startubuntu.sh executable [05:38:58 AM] [Installer thread/INFO]: Cleaning up please wait... [05:38:58 AM] [Installer thread/INFO]: Successfully cleaned up! [05:38:58 AM] [Installer thread/INFO]: The installation has been completed! You can now launch Ubuntu with ./startubuntu.sh $ ./startubuntu.sh 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.

I don't know where the problem is and how to fix in I think some files are missing but ii need your help Thanks!!

apt update & apt upgrade && apt install wget