How can I fix this?
Hiiiii!
A week ago, I switched from play's termux to the one from f-droid.
I used the following commands in backup and restoring:
Backup
Restoring
But now I get a problem with proot-distro. While backing up, I got a few warnings about socket files related to proot-distro's ubuntu.
Now, I am unable to login to it, remove it, or uninstall/install it.
I also tried
but it didn't work at all. Can somebody help me?
9 Replies
"Error: the rootfs of distribution 'ubuntu' has unexpected structure (no /etc directory). Make sure that variable TARBALL_STRIP_OPT specified in distribution plug-in is correct."
The error comes from this line https://github.com/termux/proot-distro/blob/8ebee022a96da441218ab49eeebba45112a6b340/proot-distro.sh#L720 The path is mentioned in the
if
condition.Can't find the directory to add the etc folder
Should I make one?
like make the ubuntu folder then add /etc
Sadly, I am not familiar with proot and have not tried it yet (lack of interest and old hardware). 😔
Oh
alr then but thx for the link I might try a few things to see if I can fix this
The etc directory should be in
yeah
actually I think I figured out the reason this error is happening
"/data/data/com.termux/files/usr/bin/tar doesn't exist"
which is weird given that it actually does exist
using ls
ofc
Solution
I will clear termux's data