Closed an0mal1a closed 8 months ago
I have the same issue here, on Debian 11.7:
$ sudo dpkg -i lsd_1.0.0_amd64.deb
dpkg-deb: error: archive 'lsd_1.0.0_amd64.deb' uses unknown compression for member 'control.tar.zst', giving up
dpkg: error processing archive lsd_1.0.0_amd64.deb (--install):
dpkg-deb --control subprocess returned error exit status 2
Errors were encountered while processing:
lsd_1.0.0_amd64.deb
Seems related to dpkg
version < 1.21.18 (Debian 11.7 has dpkg
1.20.12) not supporting zstd: https://unix.stackexchange.com/questions/669004/zst-compression-not-supported-by-apt-dpkg
Same here.
Hi @marceldegraaf, thanks for the info, I searched from StackOverflow, and might found a solution, you could try to re-package it locally:
ar x lsd_1.0.0_amd64.deb # this is the only place to specify the lsd deb name
# Uncompress zstd files an re-compress them using xz
zstd -d < control.tar.zst | xz > control.tar.xz
zstd -d < data.tar.zst | xz > data.tar.xz
# Re-create the Debian package in /tmp/
ar -m -c -a sdsd ./lsd_1.0.0_local.deb debian-binary control.tar.xz data.tar.xz
# Clean up
rm debian-binary control.tar.xz data.tar.xz control.tar.zst data.tar.zst
and then install the lsd_1.0.0_local.deb
cc @rckgomz @an0mal1a
we use the latest ubuntu to do the package, it should be why zst is used to package deb.
fixed, will release in v1.1.0
lsd --version
: 1.0.0When try to install the .deb lsd:
dpkg-deb --info lsd_1.0.0_amd64.deb dpkg-deb: error: el archivo
lsd_1.0.0_amd64.deb' contiene un miembro de datos
control.tar.zst' ininteligible, abandono