Standard PEAR upgrade fails on XAMPP 1.5.4a?

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Standard PEAR upgrade fails on XAMPP 1.5.4a?

Postby benjaminhill » 01. November 2006 07:52

After a fresh install of xampp, the first thing I wanted to do was make sure the PEAR modules were fully up-to-date. Unfortunately, this terminates in a fatal error.

>pear channel-update
Code: Select all
Retrieving channel.xml from remote server
Channel channel.xml is up to date

>pear ua
Code: Select all
Will upgrade auth
Will upgrade auth_radius
Will upgrade auth_sasl
Will upgrade cache_lite
Will upgrade codegen
Will upgrade codegen_pecl
Will upgrade config
Will upgrade console_getargs
Will upgrade console_table
Will upgrade db_querytool
Will upgrade db_table
Will upgrade file_find
Will upgrade file_searchreplace
Will upgrade fsm
Will upgrade html_css
Will upgrade html_progress2
Will upgrade html_quickform_advmultiselect
Will upgrade html_quickform_controller
Will upgrade html_table
Will upgrade html_template_it
Will upgrade http_client
Will upgrade http_request
Will upgrade image_graphviz
Will upgrade mail
Will upgrade mdb_querytool
Will upgrade net_curl
Will upgrade net_dict
Will upgrade net_dns
Will upgrade net_dnsbl
Will upgrade net_geo
Will upgrade net_sieve
Will upgrade net_useragent_detect
Will upgrade pager
Will upgrade pear
Will upgrade pear_packagefilemanager
Will upgrade phpdocumentor
Will upgrade php_compatinfo
Will upgrade services_weather
Will upgrade xml_fastcreate
Will upgrade xml_svg
Did not download optional dependencies: pear/SOAP, pecl/vpopmail, pecl/kadm5, use --alldeps to download automatically
Did not download dependencies: pecl/radius, use --alldeps or --onlyreqdeps to download automatically
Did not download optional dependencies: pear/HTML_Page2, pear/HTML_QuickForm_Renderer_Tableless, use --alldeps to download automatically
Did not download dependencies: pear/XML_Tree, pear/XML_DTD, use --alldeps or --onlyreqdeps to download automatically

Fatal error: Call to undefined method PEAR_PackageFile_v1::getProvidesExtension() in C:\apachefriends\xampp\php\pear\PEAR\Downloader\Package.php on line 963

I then tried -
>pear ua --ignore-errors
which dies with the same error.

Likewise, trying to upgrade PEAR only produces:
C:\apachefriends\xampp\php>pear upgrade -o PEAR
Code: Select all
downloading PEAR-1.4.11.tgz ...
Starting to download PEAR-1.4.11.tgz (283,272 bytes)
..........................................................done: 283,272 bytes
Could not delete C:\apachefriends\xampp\php\pear.bat, cannot rename C:\apachefriends\xampp\php\.tmppear.bat
ERROR: commit failed

The only thing that SEEMED to work was
pear upgrade -o --ignore-errors PEAR

But I'm very suspicious. Anyone else have this same problem when using the PEAR bat files to upgrade from a fresh install?
Posts: 3
Joined: 31. October 2006 22:17

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 51 guests