flemozi icon indicating copy to clipboard operation
flemozi copied to clipboard

unknown compression for member 'control.tar.zst'

Open csonuryilmaz opened this issue 2 years ago • 6 comments
trafficstars

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

csonuryilmaz avatar Apr 02 '23 07:04 csonuryilmaz

just ran into that fisrt time in 15 years or using deb

im-n1 avatar Apr 09 '23 14:04 im-n1

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

KRTirtho avatar Apr 09 '23 15:04 KRTirtho

I use deb 12 and get this issue so I guess the problem is elsewhere.

im-n1 avatar Apr 10 '23 07:04 im-n1

You'll need at least dpkg v1.21.18 to get it work

KRTirtho avatar Apr 10 '23 10:04 KRTirtho

Hi @KRTirtho. Latest .deb package at nightly channel should work fine at Debian <= 11. Is that correct?

csonuryilmaz avatar Apr 20 '23 07:04 csonuryilmaz

Yeah it should work

KRTirtho avatar Apr 22 '23 03:04 KRTirtho