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

Bug #16630 PEAR channel files are broken on ubuntu karmic default install
Submitted: 2009-09-21 15:57 UTC
From: izi Assigned: ashnazg
Status: Duplicate Package: PEAR (version 1.9.0)
PHP Version: 5_2 CVS-2009-09-21 OS: ubuntu karmic
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 28 + 31 = ?

 
 [2009-09-21 15:57 UTC] izi (David Jean Louis)
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

Comments

 [2009-09-21 17:01 UTC] ashnazg (Chuck Burgess)
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 17:49 UTC] izi (David Jean Louis)
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-23 19:50 UTC] ashnazg (Chuck Burgess)
-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.