zyedidia / eget

Easily install prebuilt binaries from GitHub.
MIT License
866 stars 39 forks source link

Unexpected EOF downloading and extracting `.tar.gz` files #75

Open Lilit0x opened 1 year ago

Lilit0x commented 1 year ago

Hi there. The issue I am facing is that I get an "unexpected EOF" error when I use eget to download and extract a .tar.gz file. The specific command I run is eget lilit0x/udi-pgp-sqld. I have added my github token to the eget config file at ~/.eget.toml. I downloaded the files manually and extracted them with the tar command and it works perfectly well. I can't seem to figure out what I am doing wrong. Also, I am actually creating a release of the files using github actions and I can verify that the files are not corrupt. I know this when I run the file command.

udi-ver

Using the same command for the file downloaded using eget shows it is an ASCII text and I think this is why it fails during extraction. Screenshot (207)