Forums / Install & configuration / Noob having trouble installing PEAR and ezcomponents

Noob having trouble installing PEAR and ezcomponents

Author Message

Glenn Foster

Friday 12 June 2009 8:48:12 am

Hi all,

Ive been sweating over this all day. I spent a lot of time trying to figure this out. Hopefully its something simple ive overlooked.

When I type this : -

pear install -a ezc/eZComponents

I get this error

Duplicate package channel://components.ez.no/Graph-1.4.2 found
Duplicate package channel://components.ez.no/Graph-1.4.3 found

Ive done a bit of google'ing but im getting nowhere.
Can anyone help?

Glennzo

Heath

Friday 12 June 2009 11:07:05 am

Hello Glenn,

Welcome to eZ Publish and eZ Components.

If it looks like pear is complaining about installing eZ Components why not try updating instead?

pear upgrade ezc/eZComponents

Cheers,
Heath

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

Saad Tazi

Friday 12 June 2009 2:46:37 pm

I had the same problem, but the "upgrade" didn't help.

What I did:
pear install components.ez.no/Graph-1.4.3
then:
pear install ezc/eZComponents

It seems good after that.

Bye,

Glenn Foster

Monday 15 June 2009 1:12:36 am

Yes your right! That first solution didnt work. Ill try this new solution and get back to you!

Cheers

G

Markus Freyt

Wednesday 17 June 2009 2:18:12 pm

Hi,

I have exactly the same problem and would be interessted into a quick solution. ;-)

Many thanks

Markus

Markus Freyt

Friday 19 June 2009 1:43:28 am

Hi,

Any help appreciated. Pls, let me know, if you need more information.
Many thanks.. Sorry to stress you with this issue....

Markus

Maxime Thomas

Tuesday 23 June 2009 2:14:57 am

Thank you Saad,
So much trouble with that installation process...

Maxime Thomas
[email protected] | www.wascou.org | http://twitter.com/wascou

Company Blog : http://www.wascou.org/eng/Company/Blog
Technical Blog : http://share.ez.no/blogs/maxime-thomas

Markus Freyt

Wednesday 24 June 2009 6:46:38 am

Hi,

no reply ???

I simply tried the same procedure today again:
pear install -a ezc/eZComponents

This time I got:
Duplicate package channel://components.ez.no/ConsoleTools-1.5.1 found
Duplicate package channel://components.ez.no/ConsoleTools-1.5.2 found
install failed

Whenever I try to upgrade error message is the same.

PLs, help. It becomes a little stressy for me....

Many, many thanks in advance again..

Markus

Gaetano Giunta

Thursday 25 June 2009 3:09:57 am

Not really a solution to pear woes, but you can download eZ Publish with the ezcomponents already included, and it will work out of the box without any extra setup steps.

Or you can download the ezcomponents in zip form and unzip it in the lib/ezc dir within eZ Publish.

Principal Consultant International Business
Member of the Community Project Board

Ivo Roper

Thursday 25 June 2009 9:49:21 am

Thanks to Saad Tazi for the first part of the answer.

In general, if pear finds duplicates, you can specifically install the version you want, then install the rest. For example, I had to perform the following today to install eZComponents:

pear i components.ez.no/ConsoleTools-1.5.2
pear i components.ez.no/Graph-1.4.3
pear i components.ez.no/Mail-1.6.3
pear i components.ez.no/Tree-1.1.3
pear i ezc/eZComponents

If you want the latest beta or RC, you can install ezc/eZComponents-beta instead (at least that's how with PEAR 1.6). I didn't see a better way to do this in the PEAR docs, but perhaps I missed something.

You can also install individual parts of eZComponents in the same manner.

IvoLucien

Markus Freyt

Thursday 25 June 2009 4:22:26 pm

Many thanks. Well, for now I've followed to install ezpublish in bundled version with ezc.
Ivo, special thanks for your explanation. Indeed I didn't konw. I'm sure I will come back on this later.

Good luck....Many thanks again

Markus

Eirik Alfstad Johansen

Sunday 28 June 2009 10:09:25 am

Hi guys,

Allthough this obviously is a PEAR issue, can anyone from eZ reply as to the reason for making several versions of the same component available?

Thanks in advance !

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Derick Rethans

Monday 29 June 2009 1:57:41 am

Hi,

Yes, this is an issue with the PEAR installer. I managed to reproduce this now, but don't know how to fix this. It might mean that the PEAR installer needs to be fixed first.

Derick