I am trying to install RMS on an ARM board (Odorid-U3) and confronted the following error while installing CakePHP.
Starting to download CakePHP-2.5.2.tgz (792,150 bytes)
.............................................................................................................................................................done: 792,150 bytes
could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/CakePHP-2.5.2.tgz"
Download of "cakephp/CakePHP" succeeded, but it is not a valid package archive
Error: cannot download "cakephp/CakePHP"
Download failed
install failed
I am trying to install RMS on an ARM board (Odorid-U3) and confronted the following error while installing CakePHP.
Starting to download CakePHP-2.5.2.tgz (792,150 bytes) .............................................................................................................................................................done: 792,150 bytes could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/CakePHP-2.5.2.tgz" Download of "cakephp/CakePHP" succeeded, but it is not a valid package archive Error: cannot download "cakephp/CakePHP" Download failed install failed
Source from: https://github.com/urlgrey/hsmm-pi/issues/32
A solution to get it working is to use -Z argument in pear install sudo pear install -Z cakephp/CakePHP-2.5.2
It will use non compressed tar package (otherwise it grabs *.tgz) and it works.