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

xz archive issue: format specified by source filename is not an archive format #50

Open
untcha opened this issue Oct 14, 2024 · 1 comment

Comments

@untcha
Copy link

untcha commented Oct 14, 2024

Hi!

I stumbled upon an issue with .xz archives. I tried to install multiping from https://github.com/babs/multiping ending up in this error:

➜  stew browse babs/multiping
babs/multiping
* Choose a release tag: v1.3.0
* Download and install an asset multiping-darwin-arm64.xz
⬇️  Downloading asset: 100% |██████████████████████████████████████████████████████████████████████████████| (4.1/4.1 MB, 73 MB/s)
✅ Downloaded multiping-darwin-arm64.xz to /Users/untcha/.local/share/stew/pkg
format specified by source filename is not an archive format: /Users/untcha/.local/share/stew/pkg/multiping-darwin-arm64.xz (*archiver.Xz)
@marwanhawari
Copy link
Owner

marwanhawari commented Jan 19, 2025

Thanks for reporting! This seems to be an issue with the underlying archiver library that is used to unarchive xz files. The version I'm using is mholt/archiver v3, but v3 is no longer maintained. The author did create a new package https://github.com/mholt/archives but it has a pretty big breaking change to the API so I want to wait until it's 1.0 before attempting to see if migrating over to it will fix this issue. I'm going to leave this issue open for now.

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

2 participants