Re: PEAR cache mistakes on windows

From: Date: Sat, 17 Dec 2011 15:38:47 +0000
Subject: Re: PEAR cache mistakes on windows
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-54640@lists.php.net to get a copy of this message
Le 17/12/2011 12:57, Daniel O'Connor a écrit :
On Sat, Dec 17, 2011 at 10:19 PM, Daniel O'Connor <daniel.oconnor@gmail.com>wrote:
On Sat, Dec 17, 2011 at 9:36 PM, Laurent Laville<pear@laurent-laville.org
wrote:
Hello, With PEAR 1.9.4 installed on my local Windows platform, I've some problem with PEAR cache Remember http://old.nabble.com/**SECURITY-ERROR-on-cacheid-** files---need-explains-**td32082888.html<http://old.nabble.com/SECURITY-ERROR-on-cacheid-files---need-explains-td32082888.html>
I had it too: http://pear.php.net/bugs/bug.php?id=18834
Now today, while I try to test new incoming version of PHP_CompatInfo 2.2.0 on all my PHP versions (5.2, 5.3, 5.4.0RC3) I got a strange behaviour. With a local PEAR copy and a package version of PHP_CompatInfo 2.2.0 (snapshot), I try to upgrade for the second times, I have such output : Trying to install the version with pear channel Then I choose to clear my cache, and all goes fines See all details below Laurent Laville C:\UwAmp\bin\php\php-5.4.0RC3>**pear -c pear.ini upgrade -f \home\pear\packages\PHP_**CompatInfo-2.2.0.tgz WARNING: failed to download pear.php.net/PHP_CompatInfo, version "2.2.0", will instead download version 1.9.0, stability "stable" Did not download optional dependencies: phpunit/PHPUnit, pear/XML_Util, pear/XML_Beautifier, pear/Console_Prog ressBar, pear/Var_Dump, pear/HTML_Table, use --alldeps to download automatically Did not download optional dependencies: pear/Console_Color, use --alldeps to download automatically pear/PHP_CompatInfo can optionally use package "pear/XML_Beautifier" (version>= 1.1) pear/PHP_CompatInfo can optionally use package "pear/Console_ProgressBar" (version>= 0.5.2beta) pear/PHP_CompatInfo can optionally use package "pear/Var_Dump" (version
= 1.0.3)
pear/PHP_CompatInfo can optionally use package "pear/HTML_Table" (version
= 1.8.2)
pear/Console_Table can optionally use package "pear/Console_Color" (version>= 0.0.4) downloading PHP_CompatInfo-1.9.0.tgz ... Starting to download PHP_CompatInfo-1.9.0.tgz (180,340 bytes) ..............................**........done: 180,340 bytes downloading Console_Table-1.1.4.tgz ... Starting to download Console_Table-1.1.4.tgz (9,369 bytes) ...done: 9,369 bytes downloading Console_Getargs-1.3.5.tgz ... Starting to download Console_Getargs-1.3.5.tgz (18,207 bytes) ...done: 18,207 bytes Unable to open C:\UwAmp\bin\php\php-5.4.0RC3\**tmp\pea129.tmp/package.xml
I suspect I may have made a simple, tired mistake when packaging up a QA release of console_getargs
... or not. I've got a 1.3.6 release prepared but not yet out.
This time I've clear the cache before trying to upgrade, and PEAR installer seems to "forgot where it live" and try to download from pear.php.net channel rather than from mine "bartlett.laurent-laville.org" Don't know where did the problem come from : PHP 5.4 and new Zend Engine or PEAR 1.9.4 C:\UwAmp\bin\php\php-5.4.0RC3>php -v PHP 5.4.0RC3 (cli) (built: Dec 9 2011 11:52:27) Copyright (c) 1997-2011 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2011 Zend Technologies C:\UwAmp\bin\php\php-5.4.0RC3>pear -c pear.ini clear-cache reading directory C:\UwAmp\bin\php\php-5.4.0RC3\cache 66 cache entries cleared C:\UwAmp\bin\php\php-5.4.0RC3>pear -c pear.ini upgrade -f \home\pear\packages\PHP_CompatInfo-2.2.0snapshot20111217.tgz WARNING: failed to download pear.php.net/PHP_CompatInfo, version "2.2.0snapshot20111217", will instead download version 1.9.0, stability "stable" Did not download optional dependencies: phpunit/PHPUnit, pear/XML_Util, pear/XML_Beautifier, pear/Console_ProgressBar, pear/Var_Dump, pear/HTML_Table, use --alldeps to download automatically pear/PHP_CompatInfo can optionally use package "pear/XML_Beautifier" (version >= 1.1) pear/PHP_CompatInfo can optionally use package "pear/Console_ProgressBar" (version >= 0.5.2beta) pear/PHP_CompatInfo can optionally use package "pear/Var_Dump" (version
= 1.0.3) pear/PHP_CompatInfo can optionally use package "pear/HTML_Table" (version >= 1.8.2)
^CTerminer le programme de commandes (O/N) ? o

« previous php.pear.dev (#54640) next »