Something is messed up with the github servers. When running this from an Ubuntu 10.04 server I get the following:
> sudo pear channel-discover pear.drush.org
Discovering channel pear.drush.org over http:// failed with message: channel-add: Cannot open "http://pear.drush.org/channel.xml" (File http://pear.drush.org:80/channel.xml not valid (received: HTTP/1.1 404 Not Found
))
Trying to discover channel pear.drush.org over https:// instead
Discovery of channel "pear.drush.org" failed (channel-add: Cannot open "https://pear.drush.org/channel.xml" (Connection to `pear.drush.org:443' failed: Connection refused))
If I just run a "GET" on the command line, I see that I am returned a generic github page instead of the .xml file.
Comments
Comment #1
JimBroad commentedNot sure about the github page thing, but I was seeing a similar error on one of our boxes.
Just needed to run 'pear upgrade', then all was fine.
Comment #2
ñull commentedI tried that but it does not work here.
Comment #3
kyle_mathews commentedIt's still not working for me. Got the same error even after running
pear upgradeComment #4
JimBroad commentedTake a look at this long issue thread: http://drupal.org/node/1322564
try:
http://drupal.org/node/1322564#comment-5342020
and maybe:
http://drupal.org/node/1322564#comment-6104086
Comment #5
marcnz commentedThis issue is still running today!
It is now more than 2 weeks I try to get drush installed via pear and fails.
Who can fix this? None of the provided tips/tricks work.
Comment #6
tobby commentedFor what it's worth, Drush is no longer supporting installation via Pear. See https://www.drupal.org/node/2132447 for updated methods of installation.
Comment #7
helmo commentedThis issue was marked closed (won't fix) because Drush has moved to Github.
If desired, you may copy this bug to our Github project and then post a link here to the new issue. Please also change the status of this issue to closed (duplicate).
Please ask support questions on Drupal Answers.