linuxdeploy icon indicating copy to clipboard operation
linuxdeploy copied to clipboard

Linux delopy install ubuntu impish fail

Open xintiaoxuanlv opened this issue 3 years ago • 1 comments

zst format decompression failed, how to solve? IMG_20220217_211942

xintiaoxuanlv avatar Feb 17 '22 13:02 xintiaoxuanlv

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.

JavisWiki avatar Feb 28 '22 16:02 JavisWiki