linuxdeploy icon indicating copy to clipboard operation
linuxdeploy copied to clipboard

the way to fix *.zst file format error while install ubuntu impish.

Open JavisWiki opened this issue 2 years ago • 1 comments

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.

Originally posted by @JavisWiki in https://github.com/meefik/linuxdeploy/issues/1303#issuecomment-1054423120

JavisWiki avatar Mar 04 '22 15:03 JavisWiki

Instead of linking file on an another site, where it can easily dissapear, attach it here. [Remove the suffix .txt] ztsdcat.txt

joaopa00 avatar Jun 13 '22 10:06 joaopa00