Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
csonuryilmaz opened this issue Apr 2, 2023 · 6 comments
Open

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

csonuryilmaz opened this issue Apr 2, 2023 · 6 comments

Comments

@csonuryilmaz
Copy link

csonuryilmaz commented Apr 2, 2023

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
Copy link

im-n1 commented Apr 9, 2023

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

@KRTirtho
Copy link
Owner

KRTirtho commented Apr 9, 2023

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
Copy link

im-n1 commented Apr 10, 2023

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

@KRTirtho
Copy link
Owner

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

@csonuryilmaz
Copy link
Author

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

@KRTirtho
Copy link
Owner

Yeah it should work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants