flemozi
flemozi copied to clipboard
unknown compression for member 'control.tar.zst'
I tried to install .deb package (v0.1.0) on Debian GNU/Linux 9.13 (stretch) and getting below error:
❯ sudo gdebi Flemozi-linux-x86_64.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Failed to open the software package
The package might be corrupted or you are not allowed to open the file. Check the permissions of the file.
When I inspect the package, I noticed that:
❯ dpkg-deb -I Flemozi-linux-x86_64.deb
dpkg-deb: error: archive 'Flemozi-linux-x86_64.deb' uses unknown compression for member 'control.tar.zst', giving up
just ran into that fisrt time in 15 years or using deb
This is related to a bug of Debian <=v11 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892664 which was fixed on Debian 12
The dpkg of Debian <=v11 doesn't support zstd compression which Ubuntu dpkg-deb does support and as this .deb binary was build using GitHub Actions which uses ubuntu-22.04 runner it's not running on Debian below 12
I've applied a fix for it and the fixed .deb is available in the nightly channel
I use deb 12 and get this issue so I guess the problem is elsewhere.
You'll need at least dpkg v1.21.18 to get it work
Hi @KRTirtho. Latest .deb package at nightly channel should work fine at Debian <= 11. Is that correct?
Yeah it should work