Zesty - pear fail messages - Unable to find the wrapper "channel"
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/
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
PHP Warning: file_exists(): Unable to find the wrapper "channel" - did you forget to enable it when you configured PHP? in /usr/share/
PHP Stack trace:
PHP 1. {main}() /usr/share/
PHP 2. PEAR_Command_
PHP 3. PEAR_Command_
PHP 4. PEAR_Downloader
PHP 5. PEAR_Downloader
PHP 6. PEAR_Downloader
PHP 7. file_exists() /usr/share/
Warning: is_file(): Unable to find the wrapper "channel" - did you forget to enable it when you configured PHP? in PEAR/Downloader
PHP Warning: is_file(): Unable to find the wrapper "channel" - did you forget to enable it when you configured PHP? in /usr/share/
PHP Stack trace:
PHP 1. {main}() /usr/share/
PHP 2. PEAR_Command_
PHP 3. PEAR_Command_
PHP 4. PEAR_Downloader
PHP 5. PEAR_Downloader
PHP 6. PEAR_Downloader
PHP 7. is_file() /usr/share/
Warning: is_file(): Unable to find the wrapper "channel" - did you forget to enable it when you configured PHP? in PEAR/Downloader
PHP Warning: is_file(): Unable to find the wrapper "channel" - did you forget to enable it when you configured PHP? in /usr/share/
PHP Stack trace:
PHP 1. {main}() /usr/share/
PHP 2. PEAR_Command_
PHP 3. PEAR_Command_
PHP 4. PEAR_Downloader
PHP 5. PEAR_Downloader
PHP 6. PEAR_Downloader
PHP 7. is_file() /usr/share/
WARNING: channel "pear.php.net" has updated its protocols, use "pear channel-update pear.php.net" to update
downloading PHP_CodeSniffer
Starting to download PHP_CodeSniffer
.......
install ok: channel:
Warning: unlink(
PHP Warning: unlink(
PHP Stack trace:
PHP 1. _PEAR_call_
PHP 2. call_user_
PHP 3. System:
PHP 4. System::rm() /usr/share/
PHP 5. unlink() /usr/share/
Warning: unlink(
PHP Warning: unlink(
PHP Stack trace:
PHP 1. _PEAR_call_
PHP 2. call_user_
PHP 3. System:
PHP 4. System::rm() /usr/share/
PHP 5. unlink() /usr/share/
@David, since Zesty has reached its end of life, would you mind testing with a newer release?