MFDGaming / ubuntu-in-termux

This is a script by which you can install Ubuntu in your termux application without a rooted device
1.63k stars 397 forks source link

.startubuntu.sh #86

Closed JohnathanAdams1990 closed 3 years ago

JohnathanAdams1990 commented 3 years ago

What should I do?

root 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.

Cited

Termux [ubuntu-in-termux] (05/05/2021) Screenshot_20210705-120402_Termux

kiam001 commented 3 years ago

Hello, it looks Download faild l. Did you forgot Install wget? By me Works

Woynert commented 3 years ago

I encountered this issue too. The wget is trying to download a file that does not exists. The file in the ubuntu 18.04 page has the version 18.04.5 not just 18.04 Ubuntu base page: https://cdimage.ubuntu.com/ubuntu-base/releases/18.04/release/

So to fix it just fix the name file in line 40 to match the one in the website (https://github.com/MFDGaming/ubuntu-in-termux/blob/b4c021ed9fbce2c7d25f9f0db55ce7b7696992cb/ubuntu.sh#L40)

Original: wget http://cdimage.ubuntu.com/ubuntu-base/releases/${UBUNTU_VERSION}/release/ubuntu-base-${UBUNTU_VERSION}-base-${ARCHITECTURE}.tar.gz -q -O ubuntu.tar.gz Fixed: wget http://cdimage.ubuntu.com/ubuntu-base/releases/${UBUNTU_VERSION}/release/ubuntu-base-${UBUNTU_VERSION}.5-base-${ARCHITECTURE}.tar.gz -q -O ubuntu.tar.gz

Dark9910 commented 3 years ago

I have the same problem. Still don't know how to fix it

kiam001 commented 3 years ago

@Dark9910 can you send full error log