[Bug 1330542] [NEW] php-pear broken in trusty tahr - channel wrapper missing
David Favor
david at davidfavor.com
Mon Jun 16 16:32:49 UTC 2014
Public bug reported:
This bug has been reported on many versions of Ubuntu. I've gone through many fix guides. Nothing works. Here's the problem.
_______
1) apt-get purge php-pear
2) rm -rf ~/.pearrc /etc/pear.conf /usr/share/php/
/usr/share/doc/php5-common/PEAR (required to purge all things pear)
3) apt-get install php-pear
4) pear list-channels
nap-net1# pear list-channels
Registered Channels:
====================
Channel Alias Summary
doc.php.net phpdocs PHP Documentation Team
pear.php.net pear PHP Extension and Application
Repository
pecl.php.net pecl PHP Extension Community Library
__uri __uri Pseudo-channel for static packages
nap-net1# pear install foo
Warning: file_exists(): Unable to find the wrapper "channel" - did you forget to enable it when you configured PHP? in PEAR/Downloader/Package.php on line 1518
PHP Warning: file_exists(): Unable to find the wrapper "channel" - did you forget to enable it when you configured PHP? in /usr/share/php/PEAR/Downloader/Package.php on line 1518
PHP Stack trace:
PHP 1. {main}() /usr/share/php/pearcmd.php:0
PHP 2. PEAR_Command_Common->run() /usr/share/php/pearcmd.php:305
PHP 3. PEAR_Command_Install->doInstall() /usr/share/php/PEAR/Command/Common.php:271
PHP 4. PEAR_Downloader->download() /usr/share/php/PEAR/Command/Install.php:661
PHP 5. PEAR_Downloader_Package->initialize() /usr/share/php/PEAR/Downloader.php:279
PHP 6. PEAR_Downloader_Package->_fromFile() /usr/share/php/PEAR/Downloader/Package.php:160
PHP 7. file_exists() /usr/share/php/PEAR/Downloader/Package.php:1518
Warning: is_file(): Unable to find the wrapper "channel" - did you forget to enable it when you configured PHP? in PEAR/Downloader/Package.php on line 1528
PHP Warning: is_file(): Unable to find the wrapper "channel" - did you forget to enable it when you configured PHP? in /usr/share/php/PEAR/Downloader/Package.php on line 1528
PHP Stack trace:
PHP 1. {main}() /usr/share/php/pearcmd.php:0
PHP 2. PEAR_Command_Common->run() /usr/share/php/pearcmd.php:305
PHP 3. PEAR_Command_Install->doInstall() /usr/share/php/PEAR/Command/Common.php:271
PHP 4. PEAR_Downloader->download() /usr/share/php/PEAR/Command/Install.php:661
PHP 5. PEAR_Downloader_Package->initialize() /usr/share/php/PEAR/Downloader.php:279
PHP 6. PEAR_Downloader_Package->_fromFile() /usr/share/php/PEAR/Downloader/Package.php:160
PHP 7. is_file() /usr/share/php/PEAR/Downloader/Package.php:1528
Warning: is_file(): Unable to find the wrapper "channel" - did you forget to enable it when you configured PHP? in PEAR/Downloader/Package.php on line 1528
PHP Warning: is_file(): Unable to find the wrapper "channel" - did you forget to enable it when you configured PHP? in /usr/share/php/PEAR/Downloader/Package.php on line 1528
PHP Stack trace:
PHP 1. {main}() /usr/share/php/pearcmd.php:0
PHP 2. PEAR_Command_Common->run() /usr/share/php/pearcmd.php:305
PHP 3. PEAR_Command_Install->doInstall() /usr/share/php/PEAR/Command/Common.php:271
PHP 4. PEAR_Downloader->download() /usr/share/php/PEAR/Command/Install.php:661
PHP 5. PEAR_Downloader_Package->initialize() /usr/share/php/PEAR/Downloader.php:279
PHP 6. PEAR_Downloader_Package->_fromFile() /usr/share/php/PEAR/Downloader/Package.php:160
PHP 7. is_file() /usr/share/php/PEAR/Downloader/Package.php:1528
No releases available for package "pear.php.net/foo"
install failed
** Affects: php5 (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/1330542
Title:
php-pear broken in trusty tahr - channel wrapper missing
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1330542/+subscriptions
More information about the Ubuntu-server-bugs
mailing list