KRTirtho / flemozi

Advanced⚡ Emoji Picker😀 for Linux🐧, Windows🪟 and macOS🍎
GNU General Public License v3.0
210 stars 5 forks source link

unknown compression for member 'control.tar.zst' #7

Open csonuryilmaz opened 1 year ago

csonuryilmaz commented 1 year ago

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
im-n1 commented 1 year ago

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

KRTirtho commented 1 year ago

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

im-n1 commented 1 year ago

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

KRTirtho commented 1 year ago

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

csonuryilmaz commented 1 year ago

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

KRTirtho commented 1 year ago

Yeah it should work