From: Noel da Costa on
Hi,

I'm trying to install a package and it's failing... any clues as to why?

sh-3.2# pear install Services_JSON
Failed to download pear/Services_JSON within preferred state "stable",
latest release is version 0.9.0, stability "beta", use "channel://
pear.php.net/Services_JSON-0.9.0" to install
Cannot initialize 'channel://pear.php.net/Services_JSON', invalid or
missing package file
Package "channel://pear.php.net/Services_JSON" is not valid
install failed



Thanks,

Noel da Costa

Lead Developer
Magnet Harlequin

T: 01895 432400
F: 01895 432444
E: noel.dacosta(a)magharl.co.uk
W: http://www.magharl.co.uk

This e-mail is intended solely for the addressees named above and any
other
use is prohibited. Access to this email by anyone else is
unauthorised. It
may contain confidential information. If you have received this e-mail
in
error, please contact the sender by return e-mail. We do not accept
legal
responsibility for the contents of this message if it has reached you
via
the internet. Any opinions expressed are those of the author and are not
necessarily endorsed by the company. Recipients are advised to apply
their
own virus check to this message and all incoming e-mail on delivery.



From: Christian Weiske on
Hello Noel,


> I'm trying to install a package and it's failing... any clues as to
> why?
>
> sh-3.2# pear install Services_JSON
> Failed to download pear/Services_JSON within preferred state
> "stable", latest release is version 0.9.0, stability "beta", use

PEAR tries to install stable releases only by default.

Services_JSON has no stable release, so installation fails.

You can tell pear to use the beta version:
$ pear install services_json-beta


--
Regards/Mit freundlichen Grüßen
Christian Weiske

-= Geeking around in the name of science since 1982 =-