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.

CODE:
  1. php# pear channel-discover pear.phpunit.de
  2.  
  3. Adding Channel "pear.phpunit.de" succeeded
  4. Discovery of channel "pear.phpunit.de" succeeded
  5.  
  6. php# pear install phpunit/PHPUnit
  7.  
  8. SECURITY ERROR: package in channel "pear.phpunit.de" retrieved another channel's name for download! ("pear.php.net")
  9. Cannot initialize 'channel://pear.phpunit.de/PHPUnit', invalid or missing package file
  10. Package "channel://pear.phpunit.de/PHPUnit" is not valid
  11. install failed
  12.  
  13. php# pear version
  14. PEAR Version: 1.6.1
  15. PHP Version: 5.2.1
  16. 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!

  1. One Response to “SECURITY ERROR: package in channel “pear.phpunit.de” retrieved another channel’s name for download!”

  2. By Dave on Feb 18, 2008 | Reply

    interesting.

Post a Comment

Close
E-mail It