Termux-Desktops
Termux-Desktops copied to clipboard
chroot_debian_installer.sh[239]: wget: inaccessible or not found
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
I didn't test fully, but it seems sudo sh chroot_debian_installer.sh instead of su would fix the wget path issue.
Same problem