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
Error extracting archive on composer update with 1.8.5 #7967
Comments
This bug report is missing a link to reproduction at phpstan.org/try. It will most likely be closed after manual review. |
This is definitely an infrastructure problem. Try to clear Composer cache, delete your vendor, update Composer to the latest version, and try again. |
We are also experiencing this on multiple platforms, local machine (macos), CI/CD gitlab-ci (linux) and here: https://app.buddy.works/repman/repman/pipelines/pipeline/244546/execution/631c967305209b734a22411e Might be a broader issue can we re-open for an investigation? Edit 1: Edit 2: |
I'm sorry to bump a closed issue but this is something that we've been observing in Doctrine DBAL builds consistently over the past few weeks. Here's the last occurrence:
While it does look like an infrastructure issue, it's been reproducible only for the As a maintainer of the package, Ondřej, you may want to get in touch with those who run Packagist and ask for support. I couldn't find any "Support" page there. |
What Composer version do you use? |
Why I'm asking - composer/composer#10666 fixed cache corrupting and it first appeared in 2.2.10. |
The referenced occurrence used Composer 2.4.2. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Bug report
I've got an error when I run composer update, installing phpstan/phpstan (1.8.5): Extracting archive
Failed to extract phpstan/phpstan: (9) '/usr/bin/unzip' -qq '/myproject/vendor/composer/tmp-8f6b26ee3945a20fb9cc11f735a07821' -d '/myproject/vendor/composer/ad9ec86b'
[/myproject/vendor/composer/tmp-8f6b26ee3945a20fb9cc11f735a07821] End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. unzip: cannot find zipfile directory in one of /myproject/vendor/composer/tmp-8f6b26ee3945a20fb9cc11f735a07821 or /myproject/vendor/composer/tmp-8f6b26ee3945a20fb9cc11f735a07821.zip, and cannot find /myproject/vendor/composer/tmp-8f6b26ee3945a20fb9cc11f735a07821.ZIP, period.
The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems) Unzip with unzip command failed, falling back to ZipArchive class Install of phpstan/phpstan failed
[UnexpectedValueException] '/myproject/vendor/composer/tmp-8f6b26ee3945a20fb9cc11f735a07821' is not a zip archive.
Thanks
The text was updated successfully, but these errors were encountered: