Zesty - pear fail messages - Unable to find the wrapper "channel"

Bug #1710067 reported by David Favor
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
php-pear (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

To reproduce. Install php + pear on Zesty + install any package.

The actual package installation seems to work.

All the error messages just should be fixed, to reduce confusion about whether or not a package install really worked.
_______

lxd: net11-migration # lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 17.04
Release: 17.04
Codename: zesty

lxd: net11-migration # pear upgrade
Nothing to upgrade

lxd: net11-migration # rm -rf /usr/share/php/.channels

lxd: net11-migration # pear update-channels
Updating channel "doc.php.net"
Update of Channel "doc.php.net" succeeded
Updating channel "pear.php.net"
Update of Channel "pear.php.net" succeeded
Updating channel "pecl.php.net"
Update of Channel "pecl.php.net" succeeded

lxd: net11-migration # pear install PHP_CodeSniffer

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 1511
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 1511
PHP Stack trace:
PHP 1. {main}() /usr/share/php/pearcmd.php:0
PHP 2. PEAR_Command_Common->run() /usr/share/php/pearcmd.php:316
PHP 3. PEAR_Command_Install->doInstall() /usr/share/php/PEAR/Command/Common.php:270
PHP 4. PEAR_Downloader->download() /usr/share/php/PEAR/Command/Install.php:666
PHP 5. PEAR_Downloader_Package->initialize() /usr/share/php/PEAR/Downloader.php:296
PHP 6. PEAR_Downloader_Package->_fromFile() /usr/share/php/PEAR/Downloader/Package.php:159
PHP 7. file_exists() /usr/share/php/PEAR/Downloader/Package.php:1511

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 1521
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 1521
PHP Stack trace:
PHP 1. {main}() /usr/share/php/pearcmd.php:0
PHP 2. PEAR_Command_Common->run() /usr/share/php/pearcmd.php:316
PHP 3. PEAR_Command_Install->doInstall() /usr/share/php/PEAR/Command/Common.php:270
PHP 4. PEAR_Downloader->download() /usr/share/php/PEAR/Command/Install.php:666
PHP 5. PEAR_Downloader_Package->initialize() /usr/share/php/PEAR/Downloader.php:296
PHP 6. PEAR_Downloader_Package->_fromFile() /usr/share/php/PEAR/Downloader/Package.php:159
PHP 7. is_file() /usr/share/php/PEAR/Downloader/Package.php:1521

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 1521
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 1521
PHP Stack trace:
PHP 1. {main}() /usr/share/php/pearcmd.php:0
PHP 2. PEAR_Command_Common->run() /usr/share/php/pearcmd.php:316
PHP 3. PEAR_Command_Install->doInstall() /usr/share/php/PEAR/Command/Common.php:270
PHP 4. PEAR_Downloader->download() /usr/share/php/PEAR/Command/Install.php:666
PHP 5. PEAR_Downloader_Package->initialize() /usr/share/php/PEAR/Downloader.php:296
PHP 6. PEAR_Downloader_Package->_fromFile() /usr/share/php/PEAR/Downloader/Package.php:159
PHP 7. is_file() /usr/share/php/PEAR/Downloader/Package.php:1521
WARNING: channel "pear.php.net" has updated its protocols, use "pear channel-update pear.php.net" to update
downloading PHP_CodeSniffer-3.0.2.tgz ...
Starting to download PHP_CodeSniffer-3.0.2.tgz (529,486 bytes)
..........................................................................................................done: 529,486 bytes
install ok: channel://pear.php.net/PHP_CodeSniffer-3.0.2

Warning: unlink(/tmp/glibctesta2BTUt): No such file or directory in System.php on line 225
PHP Warning: unlink(/tmp/glibctesta2BTUt): No such file or directory in /usr/share/php/System.php on line 225
PHP Stack trace:
PHP 1. _PEAR_call_destructors() /usr/share/php/PEAR.php:0
PHP 2. call_user_func_array:{/usr/share/php/PEAR.php:809}() /usr/share/php/PEAR.php:809
PHP 3. System::_removeTmpFiles() /usr/share/php/PEAR.php:809
PHP 4. System::rm() /usr/share/php/System.php:450
PHP 5. unlink() /usr/share/php/System.php:225

Warning: unlink(/tmp/pear/temp/pearMmyUcN): No such file or directory in System.php on line 225
PHP Warning: unlink(/tmp/pear/temp/pearMmyUcN): No such file or directory in /usr/share/php/System.php on line 225
PHP Stack trace:
PHP 1. _PEAR_call_destructors() /usr/share/php/PEAR.php:0
PHP 2. call_user_func_array:{/usr/share/php/PEAR.php:809}() /usr/share/php/PEAR.php:809
PHP 3. System::_removeTmpFiles() /usr/share/php/PEAR.php:809
PHP 4. System::rm() /usr/share/php/System.php:450
PHP 5. unlink() /usr/share/php/System.php:225

Revision history for this message
Simon Déziel (sdeziel) wrote :

@David, since Zesty has reached its end of life, would you mind testing with a newer release?

Changed in php5 (Ubuntu):
status: New → Incomplete
Revision history for this message
Robie Basak (racb) wrote :

Looks like this is an issue with pear, rather than PHP itself?

affects: php5 (Ubuntu) → php-pear (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for php-pear (Ubuntu) because there has been no activity for 60 days.]

Changed in php-pear (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.