Odd Pear error today. Trying to install PHPUnit3 on a newish server. Following the instructions at the PHPUnit Pocketguide. Here's the steps I did and the error I received. I'm not sure at this point if this is a bug in the Pear installer or if there's a problem with the way the PHPUnit channel is configured so I don't know where to file this.
[code]php# pear channel-discover pear.phpunit.de
Adding Channel "pear.phpunit.de" succeeded
Discovery of channel "pear.phpunit.de" succeeded
php# pear install phpunit/PHPUnit
SECURITY ERROR: package in channel "pear.phpunit.de" retrieved another channel's name for download! ("pear.php.net")
Cannot initialize 'channel://pear.phpunit.de/PHPUnit', invalid or missing package file
Package "channel://pear.phpunit.de/PHPUnit" is not valid
php# pear version
PEAR Version: 1.6.1
PHP Version: 5.2.1
Zend Engine Version: 2.2.0[/code]
Installing the code manually (the second set of install instructions listed) works just fine however. On to my unit testing!
I have the same problem with this error message:
SECURITY ERROR: package in channel "pear.symfony-project.com" retrieved another channel's name for download! ("pear.php.net")
It usually just means that the particular server is down or really slow. Try again later.
Well, I am trying it for days now and it does not work with Suse 11.3 (fresh install). It worked with Debian 4 without any problems. I am using a VM, but that should not be the problem ...
Post a Comment