termux-ubuntu icon indicating copy to clipboard operation
termux-ubuntu copied to clipboard

Error running start-ubuntu.sh

Open abraxas86 opened this issue 4 years ago • 12 comments

Screenshot_20200515-231201_Termux

Error shows up on Note 10+ Running Android Q. Installed wget and proot. Everything up to that point seemed to be going fine.

FWIW echo $PATH /data/data/com.termux/files/home/bin:/data/data/com.termux/files/usr/bin:/data/data/com.termux/files/usr/bin/app

Is this project still good?

abraxas86 avatar May 16 '20 03:05 abraxas86

hey, try this:

"apt-get update "

"apt-get upgrade"

"apt-get install wget"

"apt-get install proot"

"git clone https://github.com/MFDGaming/ubuntu-in-termux.git"

"cd ubuntu-in-termux"

"chmod +x ubuntu.sh"

"./ubuntu.sh"

"./startubuntu.sh"

lmk how it goes :)

mohit-bhagchandani avatar May 18 '20 14:05 mohit-bhagchandani

It worked for me! I had the same issue, thank you!

sofiadparamo avatar May 27 '20 06:05 sofiadparamo

Didn't work for me... after doing exactly the same as above I get: bash: /dev/null: Function not implemented bash-5.0#

Trying to install Ubuntu on Chromebook

Thanks in advance for help.

dobe23 avatar May 27 '20 22:05 dobe23

i had same issue, it's keep showing error proot.

athallarizky avatar May 28 '20 19:05 athallarizky

Hey, I solved it by try to run it on root folder of termux.

Try it while open new session in termux :

  1. termux-setup-storage (then it will show "storage" directory if you "ls" here.
  2. git clone here, and try to run that bash file again.

According this post https://github.com/termux/termux-packages/issues/1776, I think run execution file is not allowed in "/sdcard" directory

athallarizky avatar May 28 '20 22:05 athallarizky

It worked for me! Thank you

sammyirenea avatar May 29 '20 08:05 sammyirenea

hey, try this:

"apt-get update "

"apt-get upgrade"

"apt-get install wget"

"apt-get install proot"

"git clone https://github.com/MFDGaming/ubuntu-in-termux.git"

"cd ubuntu-in-termux"

"chmod +x ubuntu.sh"

"./ubuntu.sh"

"./startubuntu.sh"

lmk how it goes :)

This just bypasses the issue that the ubuntu.sh references an image that doesn't exist anymore... so it can't create the chroot filesystem

syl3ntz avatar Jun 04 '20 02:06 syl3ntz

https://cloud-images.ubuntu.com/releases/disco/release/ is the new repo looks like

syl3ntz avatar Jun 04 '20 02:06 syl3ntz

hey, try this:

"apt-get update "

"apt-get upgrade"

"apt-get install wget"

"apt-get install proot"

"git clone https://github.com/MFDGaming/ubuntu-in-termux.git"

"cd ubuntu-in-termux"

"chmod +x ubuntu.sh"

"./ubuntu.sh"

"./startubuntu.sh"

lmk how it goes :)

I followed these instruction and I was able to sucessfully launch ubuntu. However, after I fire up ubuntu and type "apt-get update" I got an endless stream of error messages like this:

E: The repository 'http://ports.ubuntu.com/ubuntu-ports disco Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.

I also get this error message for the repositories ports.ubuntu.com/ubuntu-ports disco-updates Release ports.ubuntu.com/ubuntu-ports disco-backports Release ports.ubuntu.com/ubuntu-ports disco-security Release

Right now I cannot install any software using apt, and so I can't use it. Please help!

fugata avatar Jun 20 '20 15:06 fugata

https://youtu.be/vKjaMwhGzwg Check this guy's it works

TITANHACKY avatar Jun 20 '20 23:06 TITANHACKY

hey, try this:

"apt-get update "

"apt-get upgrade"

"apt-get install wget"

"apt-get install proot"

"git clone https://github.com/MFDGaming/ubuntu-in-termux.git"

"cd ubuntu-in-termux"

"chmod +x ubuntu.sh"

"./ubuntu.sh"

"./startubuntu.sh"

lmk how it goes :)

This just bypasses the issue that the ubuntu.sh references an image that doesn't exist anymore... so it can't create the chroot filesystem

thanks

R957883 avatar Nov 28 '20 05:11 R957883

Thanks

Jackeer811 avatar Jul 12 '21 13:07 Jackeer811