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

Bug #5465 pear install --offline fails to display error
Submitted: 2005-09-20 19:58 UTC
From: glen at delfi dot ee Assigned: cellog
Status: Closed Package: PEAR
PHP Version: 5.0.5 OS: PLD Linux
Roadmaps: (Not assigned)    
Subscription  


 [2005-09-20 19:58 UTC] glen at delfi dot ee
Description: ------------ $ pear install --offline --installroot=/tmp/pear --nodeps File-1.2.1.tgz PHP Fatal error: Call to undefined method PEAR_Downloader_Package::log() in /usr/share/pear/PEAR/Downloader/Package.php on line 147 relevant fragment from code: if (!isset($options['soft'])) { $this->log(0, $origErr->getMessage()); } without --offline, the error message of broken File-1.2.1 is reported: $ pear install --installroot=/tmp/pear --nodeps File-1.2.1.tgz WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update warning: pear/File requires package "pear/PEAR" downloading File-1.2.1.tgz ... Starting to download File-1.2.1.tgz (15,892 bytes) ......done: 15,892 bytes XML error: Undeclared entity warning at line 232 Download of "pear/File" succeeded, but it is not a valid package archive Error: cannot download "pear/File"

Comments

 [2005-09-20 21:47 UTC] glen at delfi dot ee
found another package. unfortunately there's no newer release available. $ pear install --offline --installroot=/tmp/pear --nodeps File_Ogg-0.1.2.tgz PHP Fatal error: Call to undefined method PEAR_Downloader_Package::log() in /usr/share/pear/PEAR/Downloader/Package.php on line 147 $ pear install --installroot=/tmp/pear --nodeps File_Ogg-0.1.2.tgz Dependency 1 is not a rel="has" or rel="not" dependency, and has no version Parsing of package.xml from file "/home/builder/tmp/tmpn7jf4H/package.xml" failed Cannot initialize 'File_Ogg-0.1.2.tgz', invalid or missing package file Package "File_Ogg-0.1.2.tgz" is not valid install failed
 [2005-09-21 00:15 UTC] cellog
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. This bug is 1/2 valid, and 1/2 bogus. the second package has a bug in its package.xml that an older PEAR version did not catch. Please open a bug for the File_Ogg package. I will report the problem to PEAR QA to assist. Thanks for the initial report, I've got that one fixed