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

Update compile.md use -z option tar #828

Merged
merged 1 commit into from
May 30, 2024
Merged

Conversation

jeremyj11
Copy link
Contributor

``Archive is compressed, need to use -z option

Ubuntu 22.04, following instuctions results in an error:

$ curl -L https://github.com/dunglas/frankenphp/archive/refs/heads/main.tar.gz | tar x % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2200 0 2200 0 0 1288 0 --:--:-- 0:00:01 --:--:-- 1288tar: Archive is compressed. Use -z option tar: Error is not recoverable: exiting now 100 17745 0 17745 0 0 10241 0 --:--:-- 0:00:01 --:--:-- 607k curl: (23) Failure writing output to destination

fixed by adding -z option:

$ curl -L https://github.com/dunglas/frankenphp/archive/refs/heads/main.tar.gz | tar xz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2123k 0 2123k 0 0 1178k 0 --:--:-- 0:00:01 --:--:-- 3129k

Archive is compressed, need to use -z option
@dunglas dunglas merged commit ad2c18a into dunglas:main May 30, 2024
1 check passed
@dunglas
Copy link
Owner

dunglas commented May 30, 2024

Good catch! Thanks.

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

Successfully merging this pull request may close these issues.

None yet

2 participants