Re: pear local version is Array ()
| From: | Justin Patrin | Date: | Wed, 04 Apr 2007 22:47:23 +0000 |
| Subject: | Re: pear local version is Array () | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-27006@lists.php.net to get a copy of this message | ||
On 4/4/07, Paolo Sala <piviul@riminilug.it> wrote:
Hi, I have some problem using pear. For example if I run intranet:~# pear list-upgrades Notice: Undefined index: release_state in Remote.php on line 371 Notice: Undefined index: release_state in Remote.php on line 371 Notice: Undefined index: release_state in Remote.php on line 371 Notice: Undefined index: release_state in Remote.php on line 371 Notice: Undefined index: release_state in Remote.php on line 371 Notice: Undefined index: release_state in Remote.php on line 371 Notice: Undefined index: release_state in Remote.php on line 371 Notice: Undefined index: release_state in Remote.php on line 371 Notice: Undefined index: release_state in Remote.php on line 371 Notice: Undefined index: release_state in Remote.php on line 371 Available Upgrades (stable): ============================Yep, that's a really old version of PEAR. Try upgrading the PEAR package. You'll have to update various packages in multiple stages to get it to work. See earlier conversations on the list or post the problems you have upgrading for more help.Package Local Remote Size Auth_SASL Array () 1.0.2 (stable) 5,5kB Console_Getopt 1.2 (stable) 1.2.2 (stable) 4,2kB Date Array () 1.4.7 (stable) 55kB DB 1.6.2 (stable) 1.7.11 (stable) 129kB HTML_Common Array () 1.2.3 (stable) 4,7kB HTML_Table Array () 1.7.5 (stable) 14,5kB HTTP 1.2.2 (stable) 1.4.0 (stable) 4,5kB HTTP_Request Array () 1.4.0 (stable) 15,0kB Log Array () 1.9.10 (stable) 37kB Mail 1.1.3 (stable) 1.1.14 (stable) 17,2kB MDB2 Array () 2.4.0 (stable) 117kB MDB2_Driver_mysql Array () 1.4.0 (stable) 35kB MDB2_Driver_oci8 Array () 1.4.0 (stable) 35kB MDB2_Driver_pgsql Array () 1.4.0 (stable) 32kB Net_SMTP 1.2.6 (stable) 1.2.10 (stable) 10,8kB Net_Socket 1.0.1 (stable) 1.0.7 (stable) 5,3kB PEAR 1.3.2 (stable) 1.5.1 (stable) 284kB XML_Parser 1.0.1 (stable) 1.2.8 (stable) 13,2kB XML_RPC 1.1.0 (stable) 1.5.1 (stable) 32kBAs you can see for some packages instead of the local version there is "Array ()"; furthermore when a local version seems to be right it isn't. For example the command pear list-upgrades claim that I have installed the pear version 1.3.2 but in /usr/share/php/PEAR.php at the row 21 I read // $Id: PEAR.php,v 1.50.2.18 2004/04/03 06:28:46 cellog Exp $
Someone has an idea what happened to my pear installation?-- Justin Patrin