tarantool / mkrepo

Maintain DEB and RPM repositories on S3
69 stars 24 forks source link

Ubuntu Impish (and higher) packages: no entry control.tar.xz in archive #59

Closed ylobankov closed 2 years ago

ylobankov commented 2 years ago

When I am trying to create a repo of Tarantool packages for Ubuntu Impish, I am getting the following error:

Adding: 'pool/impish/main/t/tarantool/tarantool-common_2.10.0.g0a5ce0b9c-1_all.deb'
no entry control.tar.xz in archive
xz: (stdin): File format not recognized
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Can't parse 'pool/impish/main/t/tarantool/tarantool-common_2.10.0.g0a5ce0b9c-1_all.deb':
Command 'ar -p ./.rws_32721p7q/tmpfrzfaeyn/package.deb control.tar.xz |tar -xJf - --to-stdout ./control' returned non-zero exit status 2.

It looks like control TAR archive for Ubuntu Impish (and higher) has the zst compression instead of xz.

See for details: https://balintreczey.hu/blog/hello-zstd-compressed-debs-in-ubuntu