简体   繁体   中英

Error installing FirePHPCore

I am working off a clean install of Ubuntu 14.04 LTS and cannot install firephp due to error:

#pear install firephp/FirePHPCore

downloading FirePHPCore-0.3.2.tgz ...
Starting to download FirePHPCore-0.3.2.tgz (25,019 bytes)
.........done: 25,019 bytes
could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/FirePHPCore-0.3.2.tgz"
Download of "firephp/FirePHPCore" succeeded, but it is not a valid package archive
Error: cannot download "firephp/FirePHPCore"
Download failed
install failed

I've installed this on several other servers in the same fashion with no problems but they were all running Ubuntu 12 or earlier.

Any advice on how to get this working?

Use option --nocompress

pecl install --nocompress packagename

Is the only one solution that has worked for me.

This is working fine for me:

$ sudo pear install firephp/FirePHPCore
downloading FirePHPCore-0.3.2.tgz ...
Starting to download FirePHPCore-0.3.2.tgz (25,019 bytes)
.........done: 25,019 bytes
install ok: channel://pear.firephp.org/FirePHPCore-0.3.2

Which version of PEAR are you using?

$ pear version
PEAR Version: 1.9.4
PHP Version: 5.5.3-1ubuntu2.3
Zend Engine Version: 2.5.0

You may need to upgrade, if necessary.

You're hitting a bug in Archive_Tar with PHP 5.5.x.

See my blog post on how to solve it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM