Closed Comy112 closed 2 months ago
proot Debian installation failed in my setup also but with different error than OP.
proot Debian installation failed in my setup also but with different error than OP.
Click here to see the error log
``` $ pd install debian [*] Installing Debian (bookworm)... [*] Creating directory '/data/data/com.termux/files/usr/var/lib/proot-distro/installed-rootfs/debian'... [*] Creating directory '/data/data/com.termux/files/usr/var/lib/proot-distro/installed-rootfs/debian/.l2s'... [*] Using cached rootfs tarball... [*] Checking integrity, please wait... [*] Extracting rootfs, please wait... [*] Writing file '/data/data/com.termux/files/usr/var/lib/proot-distro/installed-rootfs/debian/etc/environment'... [*] Updating PATH in '/data/data/com.termux/files/usr/var/lib/proot-distro/installed-rootfs/debian/etc/bash.bashrc' if needed... [*] Updating PATH in '/data/data/com.termux/files/usr/var/lib/proot-distro/installed-rootfs/debian/etc/profile' if needed... [*] Updating PATH in '/data/data/com.termux/files/usr/var/lib/proot-distro/installed-rootfs/debian/etc/login.defs' if needed... [*] Creating file '/data/data/com.termux/files/usr/var/lib/proot-distro/installed-rootfs/debian/etc/resolv.conf'... [*] Creating file '/data/data/com.termux/files/usr/var/lib/proot-distro/installed-rootfs/debian/etc/hosts'... [*] Registering Android-specific UIDs and GIDs... [*] Running distribution-specific configuration steps... Generating locales (this might take a while)... en_US.UTF-8... done Generation complete. *** update-locale: Error: invalid locale settings: LANG=en_US.UTF-8 [!] Exiting due to failure. ```
proot aint working for us π₯Άπ£π£π£π£π₯π₯π₯π₯π₯π₯π¬
I am using proot with other distributions. Unfortunately, I am not familiar with Debian or Ubuntu environment and can not suggest any solution.
Some hint. The dpkg-reconfigure locales
command fails in https://github.com/termux/proot-distro/blob/master/distro-plugins/debian.sh script. I have been using locale-gen
command to generate locale.
Ah i see
Even better, another issue.
That could be issue in your system only. proot-distro depends on proot.
Are you playing with non-native architectures or custom system versions so proot-distro suddenly started to fail for you?
It did not receive updates for couple of months which means components proot-distro
script itself, Debian rootfs and debian.sh
plugin script did not change and supposed to work. It was tested by me before release, also it is known that specifically "debian" distro works for some other people.
I can't confirm the presence of issue on up-to-date Termux:
Proot Distro is just a bash script wrapper around proot
. If proot
fails on your device, so does proot-distro
. In your case it looks like failure happened right during unpacking of rootfs archive because proot used even to execute tar -Jxf
command to be able extract hard links.
Also pay attention that support doesn't cover modifications of Proot Distro components. If you used to make changes to $PREFIX/etc/proot-distro/debian.sh
, you are on your own if did mistakes.
Problem description
What steps will reproduce the bug?
What is the expected behavior?
.