Thursday, August 6, 2009

Force upgrade of PEAR

Recently I received this error while trying to install a package in PEAR:

# pear install HTTP_Request
HTTP error, got response: HTTP/1.1 410 Gone
Didn't receive 200 OK from remote server. (HTTP/1.1 410 Gone)

The solution, was to upgrade PEAR:

pear upgrade --force http://pear.php.net/get/Archive_Tar http://pear.php.net/get/XML_Parser http://pear.php.net/get/Console_Getopt-1.2.2
pear upgrade --force http://pear.php.net/get/PEAR-1.4.3.tar
( OR: pear upgrade --force http://pear.php.net/get/PEAR-1.3.3 _IF_ your existing older than 1.3.3)

No comments:

Post a Comment