Skip to content

Phar is broken when trying to update to 2.0.0-alpha-9eb7d6a #4701

@aaronjorbin

Description

@aaronjorbin
$ wp cli update
You have version 2.0.0-alpha-3d3f949. Would you like to update to 2.0.0-alpha-9eb7d6a? [y/n] y
Downloading from https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli-nightly.phar...
md5 hash verified: 718b37f6c341f60418971012e217bc1b

	  
	  
	  

Error: The downloaded PHAR is broken, try running wp cli update again.

This is on PHP 7.2.2-3+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Feb 6 2018 16:11:23) ( NTS )

Here is the output of wp --info

$ wp --info
OS:	Linux 3.13.0-52-generic #85-Ubuntu SMP Wed Apr 29 16:44:17 UTC 2015 x86_64
Shell:	/bin/bash
PHP binary:	/usr/bin/php7.2
PHP version:	7.2.2-3+ubuntu16.04.1+deb.sury.org+1
php.ini used:	/etc/php/7.2/cli/php.ini
WP-CLI root dir:	phar://wp-cli.phar
WP-CLI vendor dir:	phar://wp-cli.phar/vendor
WP_CLI phar path:	/root
WP-CLI packages dir:	/root/.wp-cli/packages/
WP-CLI global config:	
WP-CLI project config:	
WP-CLI version:	2.0.0-alpha-3d3f949

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions