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

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    

 [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 "" 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 "" Actual result: -------------- Nothing is displayed.


 [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 by the end of next Sunday (CET). If this was a problem with the 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.