SECURITY ERROR: package in channel “pear.phpunit.de” retrieved another channel’s name for download!
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.
-
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
-
install failed
-
-
php# pear version
-
PEAR Version: 1.6.1
-
PHP Version: 5.2.1
-
Zend Engine Version: 2.2.0
Installing the code manually (the second set of install instructions listed) works just fine however. On to my unit testing!
One Response to “SECURITY ERROR: package in channel “pear.phpunit.de” retrieved another channel’s name for download!”
By Dave on Feb 18, 2008 | Reply
interesting.