Re: HTTP_Download: PEAR installer invalid "state warning"
| From: | Jeroen Houben | Date: | Wed, 21 Apr 2004 08:57:43 +0000 |
| Subject: | Re: HTTP_Download: PEAR installer invalid "state warning" | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-28195@lists.php.net to get a copy of this message | ||
Cipriano Groenendal wrote:
Jeroenhttp://pear.php.net/.The new PEAR package HTTP_Download-0.6.2 (beta) has been released atI upgraded to this packages using -f because my preferred state is stable and I got a message saying this package is Alpha. But it's not Alpha, it's Beta. At least that's what http://pear.php.net/package/HTTP_Download says. pear upgrade -f HTTP_Download Warning: HTTP_Download is state 'alpha' which is less stable than state 'stable' downloading HTTP_Download-0.6.2.tgz ... Starting to download HTTP_Download-0.6.2.tgz (6,236 bytes) .....done: 6,236 bytes upgrade ok: HTTP_Download 0.6.2 I have PEAR-1.3.1 installed.This seems to be a bug in PEAR.php in the code on lines 459 to 477. If the force option is applied, the code loops trough all the released versions, ending with the last one(state: alpha) before noticing it can't find exactly what you want. After the loop, the $inf var is still used, which still contains the info on the last package :) You'd best open a PEAR bug about this :) Okay. http://pear.php.net/bugs/bug.php?id=1249