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

Bug #14493 pear install --offline doesn't print out errors
Submitted: 2008-08-12 16:42 UTC
From: glen Assigned: dufuz
Status: Closed Package: PEAR (version 1.7.2)
PHP Version: 5.2.6 OS: PLD Linux
Roadmaps: 1.9.0    
Subscription  


 [2008-08-12 16:42 UTC] glen (Elan Ruusamäe)
Description: ------------ $ /usr/bin/pear -vv install --packagingroot=/home/glen/rpm/pld/BUILD/PHPUnit-3.2.21 --offline /home/glen/rpm/pld/SOURCES/PHPUnit-3.2.21.tgz using package root: /home/glen/rpm/pld/BUILD/PHPUnit-3.2.21 Parsing of package.xml from file "/home/glen/tmp/pear/download/package.xml" failed Cannot download non-local package "/home/glen/rpm/pld/SOURCES/PHPUnit-3.2.21.tgz" Package "/home/glen/rpm/pld/SOURCES/PHPUnit-3.2.21.tgz" is not valid install failed while without --offline switch i can see that the error is due channel not being registered: $ /usr/bin/pear -vv install --packagingroot=/home/glen/rpm/pld/BUILD/PHPUnit-3.2.21 /home/glen/rpm/pld/SOURCES/PHPUnit-3.2.21.tgz using package root: /home/glen/rpm/pld/BUILD/PHPUnit-3.2.21 Unknown channel "pear.phpunit.de" Parsing of package.xml from file "/home/glen/tmp/pear/download/package.xml" failed Cannot initialize '/home/glen/rpm/pld/SOURCES/PHPUnit-3.2.21.tgz', invalid or missing package file Package "/home/glen/rpm/pld/SOURCES/PHPUnit-3.2.21.tgz" is not valid install failed PS: why it says file from my local disk is not local? Expected result: ---------------- it should display with --offline switch: Unknown channel "pear.phpunit.de" Actual result: -------------- Nothing is displayed.

Comments

 [2009-08-02 20:08 UTC] dufuz (Helgi Þormar Þorbjörnsson)
-Status: Open +Status: Closed -Assigned To: +Assigned To: dufuz
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.