FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=16630&edit=1

ID: 16630
Updated by: demon.gene@gmail.com
Reported By: izi at php dot net
Summary: PEAR channel files are broken on ubuntu karmic
default install
Status: Open
Type: Bug
Package: PEAR
Operating System: ubuntu karmic
Package Version: 1.9.0
PHP Version: 5_2 CVS-2009-09-21
Roadmap Versions:
New Comment:

Actually, I believe that's a bug with the PEAR that was bundled with
the PHP 5.2.10 release --
http://blog.pear.php.net/2009/08/28/fixing-unsupported-protocol/


Previous Comments:
------------------------------------------------------------------------

[2009-09-21 11:57:33] izi

Description:
------------
Currently php/PEAR is completely unusable in Ubuntu Karmic.
It's impossible to install, download or upgrade *any* package.
I investigated a bit the problem and it seems that it is due to the
serialized channel files: they missing the "servers" information.

Here's more information (ping me on #pear if you need more):

$ uname -a
Linux izi-desktop 2.6.31-10-generic #34-Ubuntu SMP Wed Sep 16 00:23:19
UTC 2009 i686 GNU/Linux

$ php --version
PHP 5.2.10-2ubuntu4 with Suhosin-Patch 0.9.7 (cli) (built: Sep 18 2009
15:43:11)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies

$ pear version
PEAR Version: 1.8.0
PHP Version: 5.2.10-2ubuntu4
Zend Engine Version: 2.2.0
Running on: Linux izi-desktop 2.6.31-10-generic #34-Ubuntu SMP Wed Sep
16 00:23:19 UTC 2009 i686

$ pear config-show
Configuration (channel pear.php.net):
=====================================
Auto-discover new Channels auto_discover <not set>
Default Channel default_channel pear.php.net
HTTP Proxy Server Address http_proxy <not set>
PEAR server [DEPRECATED] master_server pear.php.net
Default Channel Mirror preferred_mirror pear.php.net
Remote Configuration File remote_config <not set>
PEAR executables directory bin_dir /usr/bin
PEAR documentation directory doc_dir /usr/share/php/doc
PHP extension directory ext_dir
/usr/lib/php5/20060613+lfs
PEAR directory php_dir /usr/share/php
PEAR Installer cache directory cache_dir /tmp/pear/cache
PEAR configuration file cfg_dir /usr/share/php/cfg
directory
PEAR data directory data_dir /usr/share/php/data
PEAR Installer download download_dir
/build/buildd/php5-5.2.10.dfsg.1/pear-build-download
directory
PHP CLI/CGI binary php_bin /usr/bin/php
php.ini location php_ini <not set>
--program-prefix passed to php_prefix <not set>
PHP's ./configure
--program-suffix passed to php_suffix <not set>
PHP's ./configure
PEAR Installer temp directory temp_dir /tmp/pear/temp
PEAR test directory test_dir /usr/share/php/test
PEAR www files directory www_dir /usr/share/php/htdocs
Cache TimeToLive cache_ttl 3600
Preferred Package State preferred_state stable
Unix file mask umask 22
Debug Log Level verbose 1
PEAR password (for password <not set>
maintainers)
Signature Handling Program sig_bin /usr/bin/gpg
Signature Key Directory sig_keydir /etc/pear/pearkeys
Signature Key Id sig_keyid <not set>
Package Signature Type sig_type gpg
PEAR username (for username <not set>
maintainers)
User Configuration File Filename /home/izi/.pearrc
System Configuration File Filename /etc/pear/pear.conf

$ cat /usr/share/php/.channels/pear.php.net.reg
a:5:{s:4:"name";s:12:"pear.php.net";s:14:"suggestedalias";s:4:"pear";s:7:"summary";s:40:"PHP
Extension and Application
Repository";s:7:"servers";i:0;s:13:"_lastmodified";s:31:"Fri, 18 Sep
2009 15:43:23 +0000";}

$ cat /usr/share/php/.channels/pecl.php.net.reg
a:6:{s:4:"name";s:12:"pecl.php.net";s:14:"suggestedalias";s:4:"pecl";s:7:"summary";s:31:"PHP
Extension Community
Library";s:7:"servers";i:0;s:15:"validatepackage";a:2:{s:8:"_content";s:19:"PEAR_Validator_PECL";s:7:"attribs";a:1:{s:7:"version";s:3:"1.0";}}s:13:"_lastmodified";s:31:"Fri,
18 Sep 2009 15:43:23 +0000";}

Test script:
---------------
$ sudo pear install Console_CommandLine


Expected result:
----------------
Console_CommandLine is installed

Actual result:
--------------
pear.php.net is using a unsupported protocal - This should never
happen.
install failed

------------------------------------------------------------------------

Search Discussions

  • Izi at Sep 21, 2009 at 11:49 am
    Edit report at http://pear.php.net/bugs/bug.php?id=16630&edit=1

    ID: 16630
    Updated by: izi@php.net
    Reported By: izi at php dot net
    Summary: PEAR channel files are broken on ubuntu karmic
    default install
    Status: Open
    Type: Bug
    Package: PEAR
    Operating System: ubuntu karmic
    Package Version: 1.9.0
    PHP Version: 5_2 CVS-2009-09-21
    Roadmap Versions:
    New Comment:

    Chuck, that solved *this* problem indeed, but now I hit the same bug
    reported by nils:
    http://pear.php.net/bugs/bug.php?id=16606
    :(


    Previous Comments:
    ------------------------------------------------------------------------

    [2009-09-21 13:01:24] ashnazg

    Actually, I believe that's a bug with the PEAR that was bundled with
    the PHP 5.2.10 release --
    http://blog.pear.php.net/2009/08/28/fixing-unsupported-protocol/

    ------------------------------------------------------------------------

    [2009-09-21 11:57:33] izi

    Description:
    ------------
    Currently php/PEAR is completely unusable in Ubuntu Karmic.
    It's impossible to install, download or upgrade *any* package.
    I investigated a bit the problem and it seems that it is due to the
    serialized channel files: they missing the "servers" information.

    Here's more information (ping me on #pear if you need more):

    $ uname -a
    Linux izi-desktop 2.6.31-10-generic #34-Ubuntu SMP Wed Sep 16 00:23:19
    UTC 2009 i686 GNU/Linux

    $ php --version
    PHP 5.2.10-2ubuntu4 with Suhosin-Patch 0.9.7 (cli) (built: Sep 18 2009
    15:43:11)
    Copyright (c) 1997-2009 The PHP Group
    Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies

    $ pear version
    PEAR Version: 1.8.0
    PHP Version: 5.2.10-2ubuntu4
    Zend Engine Version: 2.2.0
    Running on: Linux izi-desktop 2.6.31-10-generic #34-Ubuntu SMP Wed Sep
    16 00:23:19 UTC 2009 i686

    $ pear config-show
    Configuration (channel pear.php.net):
    =====================================
    Auto-discover new Channels auto_discover <not set>
    Default Channel default_channel pear.php.net
    HTTP Proxy Server Address http_proxy <not set>
    PEAR server [DEPRECATED] master_server pear.php.net
    Default Channel Mirror preferred_mirror pear.php.net
    Remote Configuration File remote_config <not set>
    PEAR executables directory bin_dir /usr/bin
    PEAR documentation directory doc_dir /usr/share/php/doc
    PHP extension directory ext_dir
    /usr/lib/php5/20060613+lfs
    PEAR directory php_dir /usr/share/php
    PEAR Installer cache directory cache_dir /tmp/pear/cache
    PEAR configuration file cfg_dir /usr/share/php/cfg
    directory
    PEAR data directory data_dir /usr/share/php/data
    PEAR Installer download download_dir
    /build/buildd/php5-5.2.10.dfsg.1/pear-build-download
    directory
    PHP CLI/CGI binary php_bin /usr/bin/php
    php.ini location php_ini <not set>
    --program-prefix passed to php_prefix <not set>
    PHP's ./configure
    --program-suffix passed to php_suffix <not set>
    PHP's ./configure
    PEAR Installer temp directory temp_dir /tmp/pear/temp
    PEAR test directory test_dir /usr/share/php/test
    PEAR www files directory www_dir /usr/share/php/htdocs
    Cache TimeToLive cache_ttl 3600
    Preferred Package State preferred_state stable
    Unix file mask umask 22
    Debug Log Level verbose 1
    PEAR password (for password <not set>
    maintainers)
    Signature Handling Program sig_bin /usr/bin/gpg
    Signature Key Directory sig_keydir /etc/pear/pearkeys
    Signature Key Id sig_keyid <not set>
    Package Signature Type sig_type gpg
    PEAR username (for username <not set>
    maintainers)
    User Configuration File Filename /home/izi/.pearrc
    System Configuration File Filename /etc/pear/pear.conf

    $ cat /usr/share/php/.channels/pear.php.net.reg
    a:5:{s:4:"name";s:12:"pear.php.net";s:14:"suggestedalias";s:4:"pear";s:7:"summary";s:40:"PHP
    Extension and Application
    Repository";s:7:"servers";i:0;s:13:"_lastmodified";s:31:"Fri, 18 Sep
    2009 15:43:23 +0000";}

    $ cat /usr/share/php/.channels/pecl.php.net.reg
    a:6:{s:4:"name";s:12:"pecl.php.net";s:14:"suggestedalias";s:4:"pecl";s:7:"summary";s:31:"PHP
    Extension Community
    Library";s:7:"servers";i:0;s:15:"validatepackage";a:2:{s:8:"_content";s:19:"PEAR_Validator_PECL";s:7:"attribs";a:1:{s:7:"version";s:3:"1.0";}}s:13:"_lastmodified";s:31:"Fri,
    18 Sep 2009 15:43:23 +0000";}

    Test script:
    ---------------
    $ sudo pear install Console_CommandLine


    Expected result:
    ----------------
    Console_CommandLine is installed

    Actual result:
    --------------
    pear.php.net is using a unsupported protocal - This should never
    happen.
    install failed

    ------------------------------------------------------------------------
  • Demon Gene at Sep 23, 2009 at 1:50 pm
    Edit report at http://pear.php.net/bugs/bug.php?id=16630&edit=1

    ID: 16630
    Updated by: demon.gene@gmail.com
    Reported By: izi at php dot net
    Summary: PEAR channel files are broken on ubuntu karmic
    default install
    -Status: Open
    +Status: Duplicate
    Type: Bug
    Package: PEAR
    Operating System: ubuntu karmic
    Package Version: 1.9.0
    PHP Version: 5_2 CVS-2009-09-21
    -Assigned To:
    +Assigned To: ashnazg
    Roadmap Versions:
    New Comment:

    -Status: Open
    +Status: Duplicate
    -Assigned To:
    +Assigned To: ashnazg
    Setting this as duplicate of earlier bug #16606, which remains open and
    covers both aspects of the Karmic debacle (PHP 5.2.10's PEAR with broken
    channels, and the is_file thing).

    David, let's keep working the issue over on #16606.


    Previous Comments:
    ------------------------------------------------------------------------

    [2009-09-21 13:49:00] izi

    Chuck, that solved *this* problem indeed, but now I hit the same bug
    reported by nils:
    http://pear.php.net/bugs/bug.php?id=16606
    :(

    ------------------------------------------------------------------------

    [2009-09-21 13:01:24] ashnazg

    Actually, I believe that's a bug with the PEAR that was bundled with
    the PHP 5.2.10 release --
    http://blog.pear.php.net/2009/08/28/fixing-unsupported-protocol/

    ------------------------------------------------------------------------

    [2009-09-21 11:57:33] izi

    Description:
    ------------
    Currently php/PEAR is completely unusable in Ubuntu Karmic.
    It's impossible to install, download or upgrade *any* package.
    I investigated a bit the problem and it seems that it is due to the
    serialized channel files: they missing the "servers" information.

    Here's more information (ping me on #pear if you need more):

    $ uname -a
    Linux izi-desktop 2.6.31-10-generic #34-Ubuntu SMP Wed Sep 16 00:23:19
    UTC 2009 i686 GNU/Linux

    $ php --version
    PHP 5.2.10-2ubuntu4 with Suhosin-Patch 0.9.7 (cli) (built: Sep 18 2009
    15:43:11)
    Copyright (c) 1997-2009 The PHP Group
    Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies

    $ pear version
    PEAR Version: 1.8.0
    PHP Version: 5.2.10-2ubuntu4
    Zend Engine Version: 2.2.0
    Running on: Linux izi-desktop 2.6.31-10-generic #34-Ubuntu SMP Wed Sep
    16 00:23:19 UTC 2009 i686

    $ pear config-show
    Configuration (channel pear.php.net):
    =====================================
    Auto-discover new Channels auto_discover <not set>
    Default Channel default_channel pear.php.net
    HTTP Proxy Server Address http_proxy <not set>
    PEAR server [DEPRECATED] master_server pear.php.net
    Default Channel Mirror preferred_mirror pear.php.net
    Remote Configuration File remote_config <not set>
    PEAR executables directory bin_dir /usr/bin
    PEAR documentation directory doc_dir /usr/share/php/doc
    PHP extension directory ext_dir
    /usr/lib/php5/20060613+lfs
    PEAR directory php_dir /usr/share/php
    PEAR Installer cache directory cache_dir /tmp/pear/cache
    PEAR configuration file cfg_dir /usr/share/php/cfg
    directory
    PEAR data directory data_dir /usr/share/php/data
    PEAR Installer download download_dir
    /build/buildd/php5-5.2.10.dfsg.1/pear-build-download
    directory
    PHP CLI/CGI binary php_bin /usr/bin/php
    php.ini location php_ini <not set>
    --program-prefix passed to php_prefix <not set>
    PHP's ./configure
    --program-suffix passed to php_suffix <not set>
    PHP's ./configure
    PEAR Installer temp directory temp_dir /tmp/pear/temp
    PEAR test directory test_dir /usr/share/php/test
    PEAR www files directory www_dir /usr/share/php/htdocs
    Cache TimeToLive cache_ttl 3600
    Preferred Package State preferred_state stable
    Unix file mask umask 22
    Debug Log Level verbose 1
    PEAR password (for password <not set>
    maintainers)
    Signature Handling Program sig_bin /usr/bin/gpg
    Signature Key Directory sig_keydir /etc/pear/pearkeys
    Signature Key Id sig_keyid <not set>
    Package Signature Type sig_type gpg
    PEAR username (for username <not set>
    maintainers)
    User Configuration File Filename /home/izi/.pearrc
    System Configuration File Filename /etc/pear/pear.conf

    $ cat /usr/share/php/.channels/pear.php.net.reg
    a:5:{s:4:"name";s:12:"pear.php.net";s:14:"suggestedalias";s:4:"pear";s:7:"summary";s:40:"PHP
    Extension and Application
    Repository";s:7:"servers";i:0;s:13:"_lastmodified";s:31:"Fri, 18 Sep
    2009 15:43:23 +0000";}

    $ cat /usr/share/php/.channels/pecl.php.net.reg
    a:6:{s:4:"name";s:12:"pecl.php.net";s:14:"suggestedalias";s:4:"pecl";s:7:"summary";s:31:"PHP
    Extension Community
    Library";s:7:"servers";i:0;s:15:"validatepackage";a:2:{s:8:"_content";s:19:"PEAR_Validator_PECL";s:7:"attribs";a:1:{s:7:"version";s:3:"1.0";}}s:13:"_lastmodified";s:31:"Fri,
    18 Sep 2009 15:43:23 +0000";}

    Test script:
    ---------------
    $ sudo pear install Console_CommandLine


    Expected result:
    ----------------
    Console_CommandLine is installed

    Actual result:
    --------------
    pear.php.net is using a unsupported protocal - This should never
    happen.
    install failed

    ------------------------------------------------------------------------

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedSep 21, '09 at 11:01a
activeSep 23, '09 at 1:50p
posts3
users2
websitepear.php.net

2 users in discussion

Demon Gene: 2 posts Izi: 1 post

People

Translate

site design / logo © 2022 Grokbase