Upgrade issue

From: Date: Thu, 24 Sep 2009 16:44:58 +0000
Subject: Upgrade issue
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-30070@lists.php.net to get a copy of this message
Hi We are running an old version of PEAR (on Win XP with PHP 5.1.6) so I used the procedure described on this page: http://pear.php.net/news/package.xml.1.0.php When executing the first command, here is what happened: *C:\Servers\xampp\php>pear upgrade --force http://pear.php.net/get/PEAR-1.3.6.tgz http://pear.php.net/get/Archive_Tar-1.3.1 http://pear.php.net/get/Console_Getop t-1.2 downloading PEAR-1.3.6.tgz ... Starting to download PEAR-1.3.6.tgz (106,880 bytes) ..........................done: 106,880 bytes WARNING: channel "pear.php.net" has updated its protocols, use "channel-update p ear.php.net" to update downloading Archive_Tar-1.3.1.tgz ... Starting to download Archive_Tar-1.3.1.tgz (15,102 bytes) ....done: 15,102 bytes downloading Console_Getopt-1.2.tgz ... Starting to download Console_Getopt-1.2.tgz (3,370 bytes) ....done: 3,370 bytes Did not download dependencies: pear/XML_RPC, use --alldeps or --onlyreqdeps to d ownload automatically upgrade ok: channel://pear.php.net/Console_Getopt-1.2 upgrade ok: channel://pear.php.net/Archive_Tar-1.3.1 Could not delete C:\Servers\xampp\php\pear, cannot rename C:\Servers\xampp\php\. tmppear ERROR: commit failed* I tried it a second time and now I get this: *C:\Servers\xampp\php>pear upgrade --force http://pear.php.net/get/PEAR-1.3.6.tgz http://pear.php.net/get/Archive_Tar-1.3.1 http://pear.php.net/get/Console_Getop t-1.2 Fatal error: Call to undefined method PEAR_Frontend_CLI::setConfig() in C:\Serve rs\xampp\php\pear\pearcmd.php on line 137* Can anyone help me? -- Alex

« previous php.pear.general (#30070) next »