failed to install with composer

Posted 1 year ago by mojo2405

Hi,

I'm using centos 6.9 . I installed composer successfully and tried to install laravel but I cannot pass the "require" phase. Need to say - I'm using php 5.6 , all required extensions are installed , I have zip installed from yum , and I think I'm ready to go. My problem is that I'm getting the following error when running omposer global require "laravel/installer" , any help will be appriciated :

Changed current directory to /labhome/eitansh/.composer Using version ^1.4 for laravel/installer ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 11 installs, 0 updates, 0 removals

  • Installing symfony/process (v3.3.12): Downloading (100%) Failed to execute unzip -qq '/labhome/eitansh/.composer/vendor/symfony/process/bc2f709078113d8ef91e0cacc0ea8cf2' -d '/labhome/eitansh/.composer/vendor/composer/6f74b962'

[/labhome/eitansh/.composer/vendor/symfony/process/bc2f709078113d8ef91e0cacc0ea8cf2] 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 /labhome/eitansh/.composer/vendor/symfony/process/bc2f709078113d8ef91e0cacc0ea8cf2 or /labhome/eitansh/.composer/vendor/symfony/process/bc2f709078113d8ef91e0cacc0ea8cf2.zip, and cannot find /labhome/eitansh/.composer/vendor/symfony/process/bc2f709078113d8ef91e0cacc0ea8cf2.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                                                       
  • Installing symfony/filesystem (v3.3.12): Downloading (100%) Failed to execute unzip -qq '/labhome/eitansh/.composer/vendor/symfony/filesystem/bef6b48caa2964b7eaedbb89410d408b' -d '/labhome/eitansh/.composer/vendor/composer/2080462b'

[/labhome/eitansh/.composer/vendor/symfony/filesystem/bef6b48caa2964b7eaedbb89410d408b] 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 /labhome/eitansh/.composer/vendor/symfony/filesystem/bef6b48caa2964b7eaedbb89410d408b or /labhome/eitansh/.composer/vendor/symfony/filesystem/bef6b48caa2964b7eaedbb89410d408b.zip, and cannot find /labhome/eitansh/.composer/vendor/symfony/filesystem/bef6b48caa2964b7eaedbb89410d408b.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                                                       
  • Installing psr/log (1.0.2): Downloading (100%) Failed to execute unzip -qq '/labhome/eitansh/.composer/vendor/psr/log/87a60eb3643055c9b42987ee5812ea3d' -d '/labhome/eitansh/.composer/vendor/composer/29e5656e'

[/labhome/eitansh/.composer/vendor/psr/log/87a60eb3643055c9b42987ee5812ea3d] 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 /labhome/eitansh/.composer/vendor/psr/log/87a60eb3643055c9b42987ee5812ea3d or /labhome/eitansh/.composer/vendor/psr/log/87a60eb3643055c9b42987ee5812ea3d.zip, and cannot find /labhome/eitansh/.composer/vendor/psr/log/87a60eb3643055c9b42987ee5812ea3d.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                                                       
  • Installing symfony/debug (v3.3.12): Downloading (100%) Failed to execute unzip -qq '/labhome/eitansh/.composer/vendor/symfony/debug/24278bb0e27c82362a52b464d8cc993c' -d '/labhome/eitansh/.composer/vendor/composer/08b44bef'

[/labhome/eitansh/.composer/vendor/symfony/debug/24278bb0e27c82362a52b464d8cc993c] 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 /labhome/eitansh/.composer/vendor/symfony/debug/24278bb0e27c82362a52b464d8cc993c or /labhome/eitansh/.composer/vendor/symfony/debug/24278bb0e27c82362a52b464d8cc993c.zip, and cannot find /labhome/eitansh/.composer/vendor/symfony/debug/24278bb0e27c82362a52b464d8cc993c.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                                                       
  • Installing symfony/polyfill-mbstring (v1.6.0): Downloading (100%) Failed to execute unzip -qq '/labhome/eitansh/.composer/vendor/symfony/polyfill-mbstring/a0c142b236c4817296ad208404b7f342' -d '/labhome/eitansh/.composer/vendor/composer/5ed853b5'

[/labhome/eitansh/.composer/vendor/symfony/polyfill-mbstring/a0c142b236c4817296ad208404b7f342] 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 /labhome/eitansh/.composer/vendor/symfony/polyfill-mbstring/a0c142b236c4817296ad208404b7f342 or /labhome/eitansh/.composer/vendor/symfony/polyfill-mbstring/a0c142b236c4817296ad208404b7f342.zip, and cannot find /labhome/eitansh/.composer/vendor/symfony/polyfill-mbstring/a0c142b236c4817296ad208404b7f342.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                                                       
  • Installing symfony/console (v3.3.12): Downloading (100%) Failed to execute unzip -qq '/labhome/eitansh/.composer/vendor/symfony/console/552726960bb15088814acb538374ce57' -d '/labhome/eitansh/.composer/vendor/composer/b9412f38'

[/labhome/eitansh/.composer/vendor/symfony/console/552726960bb15088814acb538374ce57] 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 /labhome/eitansh/.composer/vendor/symfony/console/552726960bb15088814acb538374ce57 or /labhome/eitansh/.composer/vendor/symfony/console/552726960bb15088814acb538374ce57.zip, and cannot find /labhome/eitansh/.composer/vendor/symfony/console/552726960bb15088814acb538374ce57.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                                                       
  • Installing guzzlehttp/promises (v1.3.1): Downloading (100%) Failed to execute unzip -qq '/labhome/eitansh/.composer/vendor/guzzlehttp/promises/e6c58802d58e572d7051fbcb87b6b182' -d '/labhome/eitansh/.composer/vendor/composer/19727f79'

[/labhome/eitansh/.composer/vendor/guzzlehttp/promises/e6c58802d58e572d7051fbcb87b6b182] 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 /labhome/eitansh/.composer/vendor/guzzlehttp/promises/e6c58802d58e572d7051fbcb87b6b182 or /labhome/eitansh/.composer/vendor/guzzlehttp/promises/e6c58802d58e572d7051fbcb87b6b182.zip, and cannot find /labhome/eitansh/.composer/vendor/guzzlehttp/promises/e6c58802d58e572d7051fbcb87b6b182.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                                                       
  • Installing psr/http-message (1.0.1): Downloading (100%) Failed to execute unzip -qq '/labhome/eitansh/.composer/vendor/psr/http-message/d7b0e9ad3431706e26ea3e8af3f5d938' -d '/labhome/eitansh/.composer/vendor/composer/529c9b13'

[/labhome/eitansh/.composer/vendor/psr/http-message/d7b0e9ad3431706e26ea3e8af3f5d938] 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 /labhome/eitansh/.composer/vendor/psr/http-message/d7b0e9ad3431706e26ea3e8af3f5d938 or /labhome/eitansh/.composer/vendor/psr/http-message/d7b0e9ad3431706e26ea3e8af3f5d938.zip, and cannot find /labhome/eitansh/.composer/vendor/psr/http-message/d7b0e9ad3431706e26ea3e8af3f5d938.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                                                       
  • Installing guzzlehttp/psr7 (1.4.2): Downloading (100%) Failed to execute unzip -qq '/labhome/eitansh/.composer/vendor/guzzlehttp/psr7/04b80ca798b2c349fc056add9712f9ee' -d '/labhome/eitansh/.composer/vendor/composer/41adde05'

[/labhome/eitansh/.composer/vendor/guzzlehttp/psr7/04b80ca798b2c349fc056add9712f9ee] 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 /labhome/eitansh/.composer/vendor/guzzlehttp/psr7/04b80ca798b2c349fc056add9712f9ee or /labhome/eitansh/.composer/vendor/guzzlehttp/psr7/04b80ca798b2c349fc056add9712f9ee.zip, and cannot find /labhome/eitansh/.composer/vendor/guzzlehttp/psr7/04b80ca798b2c349fc056add9712f9ee.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
  • Installing guzzlehttp/guzzle (6.3.0): Downloading (100%) Failed to execute unzip -qq '/labhome/eitansh/.composer/vendor/guzzlehttp/guzzle/99caf49edc0fe22c1b0db668449a2546' -d '/labhome/eitansh/.composer/vendor/composer/73d33eb7'

[/labhome/eitansh/.composer/vendor/guzzlehttp/guzzle/99caf49edc0fe22c1b0db668449a2546] 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 /labhome/eitansh/.composer/vendor/guzzlehttp/guzzle/99caf49edc0fe22c1b0db668449a2546 or /labhome/eitansh/.composer/vendor/guzzlehttp/guzzle/99caf49edc0fe22c1b0db668449a2546.zip, and cannot find /labhome/eitansh/.composer/vendor/guzzlehttp/guzzle/99caf49edc0fe22c1b0db668449a2546.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
  • Installing laravel/installer (v1.4.1): Downloading (100%) Failed to execute unzip -qq '/labhome/eitansh/.composer/vendor/laravel/installer/6069b0e03eb134a6d4f63e090152b7b3' -d '/labhome/eitansh/.composer/vendor/composer/ed4d1084'

[/labhome/eitansh/.composer/vendor/laravel/installer/6069b0e03eb134a6d4f63e090152b7b3] 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 /labhome/eitansh/.composer/vendor/laravel/installer/6069b0e03eb134a6d4f63e090152b7b3 or /labhome/eitansh/.composer/vendor/laravel/installer/6069b0e03eb134a6d4f63e090152b7b3.zip, and cannot find /labhome/eitansh/.composer/vendor/laravel/installer/6069b0e03eb134a6d4f63e090152b7b3.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
Skipped installation of bin laravel for package laravel/installer: file not found in package

symfony/console suggests installing symfony/event-dispatcher ()

Installation failed, reverting ./composer.json to its original content.

[Composer\Repository\InvalidRepositoryException] Invalid repository data in /labhome/eitansh/.composer/vendor/composer/installed.json, packages could not be loaded: [UnexpectedValueException] Could not parse package list from the repository

require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] []...

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.