termux / proot

An chroot-like implementation using ptrace.
https://wiki.termux.com/wiki/PRoot
Other
745 stars 161 forks source link

[Bug]: proot-distro install command can't extract packages #217

Open thesuperfatcat opened 2 years ago

thesuperfatcat commented 2 years ago

Problem description

234838_Termux

(Latest clean setup and all packages updated)

What steps will reproduce the bug?

tar -xf command can't extract the packages without root permission, any way to fix this problem? I tried the same setups on different devices and get same problem :/

What is the expected behavior?

..

Grimler91 commented 2 years ago

Possibly duplicate of, or related to, https://github.com/termux/proot/issues/209, https://github.com/termux/proot/issues/119, https://github.com/termux/proot/issues/141.

Logs, with proot in verbose mode (export PROOT_VERBOSE=9), will probably be necessary for understanding the issue as it only happens on some devices

thesuperfatcat commented 2 years ago

Possibly duplicate of, or related to, #209, #119, #141.

Logs, with proot in verbose mode (export PROOT_VERBOSE=9), will probably be necessary for understanding the issue as it only happens on some devices

I got the exact same log on #209

thesuperfatcat commented 2 years ago

This is the error i get when i try to extract the file manually

003022_Termux

Grimler91 commented 2 years ago

Could you try running extracting it in the same way as proot-distro (plus verbose mode)? So something like

proot --link2symlink \
    --verbose 9 \
    tar -xf \ 
    --warning=no-unknown-keyword \
    --delay-directory-restore --preserve-permissions \
    --exclude='dev' ubuntu-arm-pd-v2.8.0.tar.xz
thesuperfatcat commented 2 years ago

Could you try running extracting it in the same way as proot-distro (plus verbose mode)? So something like

proot --link2symlink \
  --verbose 9 \
  tar -xf \ 
  --warning=no-unknown-keyword \
  --delay-directory-restore --preserve-permissions \
  --exclude='dev' ubuntu-arm-pd-v2.8.0.tar.xz

Here logs: prootLog.txt