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

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] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!