Bug #13047 [Com]: PEAR fails to install *any* package
| From: | danomite | Date: | Sat, 05 May 2012 00:44:12 +0000 |
| Subject: | Bug #13047 [Com]: PEAR fails to install *any* package | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-8607@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=13047&edit=1
ID: 13047
Comment by: danomite
Reported By: danomite99 at hotmail dot com
Summary: PEAR fails to install *any* package
Status: Closed
Type: Bug
Package: PEAR
Operating System: FreeBSD
Package Version: 1.7.0
PHP Version: 5.2.3
Assigned To: timj
New Comment:
Thank you Jochem!!
That's exactly what was my problem on Windows!
Previous Comments:
------------------------------------------------------------------------
[2012-01-31 15:12:59] jochem
I had this same problem on a Windows machine, after reinstalling PHP.
It was solved by emptying PEAR's cache (%TEMP%\pear\cache on a windows
machine, probably /tmp/pear on *nix?).
Mostly posting for reference purposes in case anyone else runs into this
problem and finds this page (like I did).
------------------------------------------------------------------------
[2011-08-04 10:18:58] pzystorm
This issue seems to be very up to date and must be reopened.
Directly after the "make install" of php-5.3.6:
rm /root/.pearrc
/opt/php-5.3.6/bin/pear -vvv install apc
Warning: file_exists(): Unable to find the wrapper "channel" - did you
forget to enable it when you configured PHP? in
PEAR/Downloader/Package.php on line 1518
Warning: is_file(): Unable to find the wrapper "channel" - did you
forget to enable it when you configured PHP? in
PEAR/Downloader/Package.php on line 1528
Warning: is_file(): Unable to find the wrapper "channel" - did you
forget to enable it when you configured PHP? in
PEAR/Downloader/Package.php on line 1528
No releases available for package "pear.php.net/apc"
Cannot initialize 'channel://pear.php.net/apc', invalid or missing
package file
Package "channel://pear.php.net/apc" is not valid
install failed
# /opt/php-5.3.6/bin/pear -vvv upgrade PEAR
Nothing to upgrade
# /opt/php-5.3.6/bin/pear -vvv upgrade
Nothing to upgrade
I have no idea what to do.
------------------------------------------------------------------------
[2008-02-03 09:45:30] dufuz
This bug has been fixed in CVS.
If this was a documentation problem, the fix will appear on pear.php.net
by the end of next Sunday (CET).
If this was a problem with the pear.php.net website, the change should
be live shortly.
Otherwise, the fix will appear in the package's next release.
Thank you for the report and for helping us make PEAR better.
The problem was actually already fixed in CVS by Tim but for some reason
it wasn't synced into the REST file before the release even if it was
included in the release notes.
------------------------------------------------------------------------
[2008-02-03 00:18:55] jausions
I don't know if it's related, but I had a similar problem with my own
PEAR channel as well (http://pear.11abacus.com) I was getting 404 errors
with PEAR 1.7.0 when trying to install/upgrade/anything remote.
It was working fine with pear.php.net channel, but once I removed the
duplicate "Host: " header sent by PEAR_REST::downloadHttp() (on line
325) in 1.7.0, I was able to install from my channel again.
I'm running my PEAR channel on Debian Sarge with Apache 2.2.3 and
Chiara_PEAR_Server_REST 1.8.0.
The 404 error was occurring regardless of the system I was running the
pear command (Windows XP or Debian)
------------------------------------------------------------------------
[2008-02-02 15:32:52] till
I fixed it with "pear upgrade -f PEAR-1.7.0RC2". Since then it continues
to work as expected.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://pear.php.net/bugs/bug.php?id=13047
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=13047&edit=1