Termux-Desktops icon indicating copy to clipboard operation
Termux-Desktops copied to clipboard

chroot_debian_installer.sh[239]: wget: inaccessible or not found

Open rvalyi opened this issue 1 year ago • 2 comments

When doing su and then sh chroot_debian_installer.sh I get this error because wget is available for the default termux user but not for root:

[✓] Created directory:
[+] Downloading file...
chroot_debian_installer.sh[239]: wget: inaccessible or not found
[!] Error downloading file: debian12-arm64.tar.gz. Exiting...
[!] Something went wrong. Exiting...

I worked around it by doing instead:

export PATH=/data/data/com.termux/files/usr/bin:$PATH
sh chroot_debian_installer.sh

rvalyi avatar Jun 02 '24 23:06 rvalyi

I didn't test fully, but it seems sudo sh chroot_debian_installer.sh instead of su would fix the wget path issue.

rvalyi avatar Jun 04 '24 03:06 rvalyi

Same problem

m4lw4r2 avatar May 09 '25 09:05 m4lw4r2