Open xintiaoxuanlv opened 2 years ago
I met same problem, and I solved it by doing this:
Step 1.
Edit /data/user/0/ru.meefik.linuxdeploy/files/include/bootstrap/debian/debootstrap/functions
Replace
control.tar.xz) cat_cmd=xzcat ;;
control.tar) cat_cmd=cat ;;
to
control.tar.xz) cat_cmd=xzcat ;;
control.tar) cat_cmd=cat ;;
control.tar.zst) cat_cmd=zstdcat ;;
There are two places total in file "functions".
Step 2.
Download and exact ztsd binary file.
you can download from termux source and exact ztsd binary file from .deb
:
link: https://termux.librehat.com/apt/termux-main/pool/main/z/zstd/
or download exacted binary file from here:
link: https://cowtransfer.com/s/de0ab98c7cfb43
Step 3.
rename file zstd
to zstdcat
Step 4.
Copy file zstdcat
to /data/user/0/ru.meefik.linuxdeploy/files/bin
, and chmod +x /data/user/0/ru.meefik.linuxdeploy/files/bin/zstdcat
Step 5. Install ubuntu in LinuxDeploy.
zst format decompression failed, how to solve?