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

Bug #15923 Cannot download or install package through 'pear' command
Submitted: 2009-02-20 19:31 UTC
From: hschletz Assigned: ifeghali
Status: Closed Package: MDB2_Schema (version 0.8.4)
PHP Version: 5.2.5 OS: SUSE Enterprise Server 10 SP2
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 40 - 36 = ?

 
 [2009-02-20 19:31 UTC] hschletz (Holger Schletz)
Description: ------------ Trying to download or install MDB2_Schema through the 'pear' command aborts with errors. I have to download the Package from the website and install it manually. Other PEAR packages work fine. PEAR Version is 1.6.1 (from my distro - I don't want to upgrade unless I really have to). MDB2_Schema depends on 1.6.0 or later, so this should be OK (unless the version dependency is wrong). Test script: --------------- # pear install MDB2_Schema-beta # pear download MDB2_Schema-beta Expected result: ---------------- package gets installed. Actual result: -------------- downloading MDB2_Schema-0.8.4.tgz ... Starting to download MDB2_Schema-0.8.4.tgz (76,430 bytes) .................done: 76,430 bytes Validation Error: File "www/mdb2_schematool/result.php" in directory "<dir name="/">" has invalid role "www", should be one of data, doc, php, script, test Validation Error: File "www/mdb2_schematool/index.php" in directory "<dir name="/">" has invalid role "www", should be one of data, doc, php, script, test Validation Error: File "www/mdb2_schematool/class.inc.php" in directory "<dir name="/">" has invalid role "www", should be one of data, doc, php, script, test Validation Error: File "www/mdb2_schematool/action.php" in directory "<dir name="/">" has invalid role "www", should be one of data, doc, php, script, test Parsing of package.xml from file "/tmp/pear/cache/package.xml" failed Download of "pear/MDB2_Schema" succeeded, but it is not a valid package archive Error: cannot download "pear/MDB2_Schema" Download failed install failed

Comments

 [2009-02-20 22:52 UTC] hschletz (Holger Schletz)
-Package Version: +Package Version: 0.8.4
 [2009-02-20 22:55 UTC] hschletz (Holger Schletz)
-PHP Version: Irrelevant +PHP Version: 5.2.5
 [2009-02-21 14:28 UTC] doconnor (Daniel O'Connor)
Doing a pear upgrade won't break your distro and may well fix this -> recommend that.
 [2009-02-22 19:15 UTC] ifeghali (Igor Feghali)
-Assigned To: +Assigned To: ifeghali
reproduced. let me check when PEAR introduced the www role.
 [2009-02-22 19:21 UTC] ifeghali (Igor Feghali)
dependency is wrong. PEAR introduced the 'www' role in version 1.7.0. you have two workarounds: * pear download MDB2_Schema, extract it, edit package.xml to remove the section with www/ files. then pear install package.xml or * install PEAR > 1.7.0 for your user only (and let system-wide PEAR untouched). for more information on that please "pear help config-create".
 [2009-02-22 19:23 UTC] ifeghali (Igor Feghali)
-Status: Assigned +Status: Closed
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.