php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56289 "pear update-channels" gives misleading error with default config
Submitted: 2005-02-09 10:49 UTC Modified: 2006-12-16 18:34 UTC
From: demian at phpkitchen dot com Assigned: pajoye (profile)
Status: Closed Package: PECL website (PECL)
PHP Version: 4.3.9 OS: winXP
Private report: No CVE-ID: None
View Add Comment Developer Edit
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:
38 + 11 = ?
Subscribe to this entry?

 
 [2005-02-09 10:49 UTC] demian at phpkitchen dot com
Description:
------------
pear update-channels
====================
this command gives unexpected result/error msg with the default pear config

Expected result:
----------------
[a list of channels]

Actual result:
--------------
ERROR: existing channel "pear.php.net" is aliased to "pear" already and cannot be re-aliased to "pear.php.net" because a channel with that name or alias already
 exists!  Please re-alias and try again. 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-10 00:17 UTC] cellog@php.net
Oddly enough, this is a bug in pear-database.php, as the channel.listAll command is returning:

array(
 array('pear')
)

instead of

array(
 array('pear.php.net')
)

I will kill it now
 [2005-02-10 00:25 UTC] cellog@php.net
Turns out, this is because the database is storing "pear" as the channel name instead of "pear.php.net" So, I will assign this one to Martin, who can pass it to Pierre, I guess, if too busy

UPDATE channels SET name="pear.php.net" WHERE name="pear";

This will fix it
 [2005-02-10 11:27 UTC] cellog@php.net
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pear.php.net.

In case this was a pear.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PEAR better.


 [2006-12-16 18:34 UTC] pajoye@php.net
Don't assign any pear bug to me, thank you :)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 08:01:28 2024 UTC