Download of "pecl/xdebug" succeeded, but it is not a valid package archive

I tried to install the xdebug in Ubuntu 14.04, but when I execute the following command:

sudo pecl install xdebug

it returns the error:

Download of "pecl/xdebug" succeeded, but it is not a valid package archive

Someone had the same problem or knows how to fix it?

Thanks


Solution 1:

The bug is somewhere in the pecl uncompressing module for Ubuntu 14.04 32 bit. Try this:

sudo pecl install -Z xdebug

-Z makes pecl download an uncompressed version of the package. Works for me.