Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.10.15

Bug #45 preferred_state works incorrectly
Submitted: 2003-09-29 17:29 UTC
From: cellog Assigned: cellog
Status: Closed Package: PEAR
PHP Version: 1.3b1 OS: na
Roadmaps: (Not assigned)    
Subscription  


 [2003-09-29 17:29 UTC] cellog
Description: ------------ if preferred_state < stable, the installer should search the preferred_state first, and then up to the next higher states until stable before giving an error. Reproduce code: --------------- pear install File_Passwd-0.9.1 pear config-set preferred_state alpha pear upgrade File_Passwd Expected result: ---------------- downloading File_Passwd-0.9.3.tgz ... Starting to download File_Passwd-0.9.3.tgz (17,030 bytes) ......done: 17,030 bytes requires package `Crypt_CHAP' File_Passwd: Dependencies failed Actual result: -------------- No releases of preferred state "alpha" exist for package File_Passwd. Use File_Passwd-state to install another state (like File_Passwd-beta)

Comments

 [2003-09-29 17:37 UTC] cellog
This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. also MFH'ed it