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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: demian at phpkitchen dot com
New email:
PHP Version: OS:

 

 [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-2020 The PHP Group
All rights reserved.
Last updated: Tue Nov 24 13:01:23 2020 UTC