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

composer update to the version a422d67e2701860a44a4634f62f88b58b8636468 #3586

Closed
ruikc opened this issue Dec 22, 2014 · 4 comments
Closed

composer update to the version a422d67e2701860a44a4634f62f88b58b8636468 #3586

ruikc opened this issue Dec 22, 2014 · 4 comments

Comments

@ruikc
Copy link

ruikc commented Dec 22, 2014

when i finish update to the version a422d67,command the composer update show the error as follow
PHP Fatal error: Uncaught exception 'PharException' with message 'phar "/usr/local/Cellar/composer/1.0.0-alpha9/libexec/composer.phar" has a broken signature' in /usr/local/Cellar/composer/1.0.0-alpha9/libexec/composer.phar:23
Stack trace:
#0 /usr/local/Cellar/composer/1.0.0-alpha9/libexec/composer.phar(23): Phar::mapPhar('composer.phar')
#1 {main}

thrown in /usr/local/Cellar/composer/1.0.0-alpha9/libexec/composer.phar on line 23

Fatal error: Uncaught exception 'PharException' with message 'phar "/usr/local/Cellar/composer/1.0.0-alpha9/libexec/composer.phar" has a broken signature' in /usr/local/Cellar/composer/1.0.0-alpha9/libexec/composer.phar:23
Stack trace:
#0 /usr/local/Cellar/composer/1.0.0-alpha9/libexec/composer.phar(23): Phar::mapPhar('composer.phar')
#1 {main}

thrown in /usr/local/Cellar/composer/1.0.0-alpha9/libexec/composer.phar on line 23

how can i do ??

@alcohol
Copy link
Member

alcohol commented Dec 29, 2014

Seems like a corrupt phar. Just reinstall composer (and I recommend not using brew for that).

@Seldaek Seldaek closed this as completed Dec 29, 2014
@eferuzi
Copy link

eferuzi commented Feb 18, 2015

I am running ubuntu 14.10 and I am getting the same error. I have installed the latest version but still I am getting the same error.

@alcohol
Copy link
Member

alcohol commented Feb 18, 2015

Can you describe your install process?

@tienvx
Copy link

tienvx commented Apr 23, 2015

Reinstall does not help. This is the install process.

  • composer self-update
Updating to version 2e73811211b7ea6de8de578fa50746fe679f2297.
    Downloading: 100%         
Use composer self-update --rollback to return to version a32c91914558a3ff293d83f7b99c49f4a7931798
PHP Fatal error:  Uncaught exception 'PharException' with message 'phar "/home/dev/bin/composer" has a broken signature' in /home/dev/bin/composer:23
Stack trace:
#0 /home/dev/bin/composer(23): Phar::mapPhar('composer.phar')
#1 {main}
  thrown in /home/dev/bin/composer on line 23
PHP Fatal error:  Uncaught exception 'PharException' with message 'phar "/home/dev/bin/composer" has a broken signature' in /home/dev/bin/composer:23
Stack trace:
#0 /home/dev/bin/composer(23): Phar::mapPhar('composer.phar')
#1 {main}
  thrown in /home/dev/bin/composer on line 23
PHP Fatal error:  Uncaught exception 'PharException' with message 'phar "/home/dev/bin/composer" has a broken signature' in /home/dev/bin/composer:23
Stack trace:
#0 /home/dev/bin/composer(23): Phar::mapPhar('composer.phar')
#1 {main}
  thrown in /home/dev/bin/composer on line 23

p.s. download the file manually seems work
https://getcomposer.org/download/1.0.0-alpha10/composer.phar

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

5 participants