For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > April 2004 > RE: [PEAR] No release with state equal to: 'stable' found for 'X









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author RE: [PEAR] No release with state equal to: 'stable' found for 'X
Lincoln Mongillo

2004-04-28, 6:52 pm

Well, I'll be, I tried it with 'install -f XML_Serializer' and it worked. I
have a love/hate relationship with command-lines. In this case, love it!
Thanks for the tip, Scott.

Cheers,
lincoln



> -----Original Message-----
> From: deflin39@deflin.net [mailto:deflin39@deflin.net]
> Sent: Wednesday, April 28, 2004 3:04 PM
> To: Lincoln Mongillo
> Cc: pear-general@lists.php.net
> Subject: Re: [PEAR] No release with state equal to: 'stable'
> found for 'XML_Serializer'
>
>
> Lincoln -
>
> Hi! I had a similar problem a w or so ago, which also
> prompted me to join this mailing-list.
>
> I am not sure why some packages are not listing with `pear
> list-all`, but my guess would be because they still are in
> development. As for installing them, if you and the option
> `-f` like so: `pear install -f`, you should be able to
> download the package through the installer.
>
> Hope this helps
> Scott
>
> reason I
> stable) but
> package in
>

Greg Beaver

2004-04-29, 12:03 am

Lincoln Mongillo wrote:

> Well, I'll be, I tried it with 'install -f XML_Serializer' and it worked. I
> have a love/hate relationship with command-lines. In this case, love it!
> Thanks for the tip, Scott.


Hi,

I'm glad this worked out for you. In general, using the -f or --force
command-line option is risky. -f will cause the installer to install a
package even if there are missing dependencies or other serious errors.

The best way to figure out what's going on is to use this command sequence

pear remote-info XML_Serializer

You'll see at the top "latest: 0.9.2." This is the latest version. You
can install it simply by using

pear install XML_Serializer-0.9.2

For future PEAR versions, I will add this information to the error
message, as it is clearly needed :)

Greg
Lukas Smith

2004-04-29, 6:48 pm

Lincoln Mongillo wrote:

> Well, I'll be, I tried it with 'install -f XML_Serializer' and it worked. I
> have a love/hate relationship with command-lines. In this case, love it!
> Thanks for the tip, Scott.


this is due to the prefered state setting.
it is problably set to "stable" .. therefore therefore the installer
ignores releases below "stable". you can set the setting to "dev" if you
dont care for this.

furthermore "-f" is not the best way to get things to install as this
ignores all checkes (including dependencies).

if you dont want to change your prefered state then you can also append
the state which you want like so:
pear install XML_Serializer-beta

regards,
Lukas Smith
smith@backendmedia.com
_______________________________
BackendMedia
www.backendmedia.com
berlin@backendmedia.com

Linn Zwoch Smith GbR
Pariser Str. 44
D-10707 Berlin

Tel +49 30 83 22 50 00
Fax +49 30 83 22 50 07
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com