FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » pear command line not working
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
pear command line not working [message #177525] Fri, 06 April 2012 14:10 Go to next message
kurt krueckeberg is currently offline  kurt krueckeberg
Messages: 1
Registered: April 2012
Karma: 0
Junior Member
I am setting up a Ubuntu (the problem also happens on Debian Squeeze)
Virtual Private Server. I have installed php5 and php-pear. When I go
to install a pear package from the command, or if I attempt to upgrade
packages, for example

# sudo pear upgrade-all

pear always gets a "could not download" message. The command above
gave:

Could not download from "http://pear.php.net/get/
Structures_Graph-1.0.4.tgz", cannot download

"pear/structures_graph" (File http://pear.php.net:80/get/Structures_Graph-1.0.4.tgz
not valid
> (redirected but no location)) Error: cannot download "pear/Structures_Graph"

I tried purge php-pear and reinstalling. I tried Debian instead of
Ubuntu, but got the same message.
Re: pear command line not working [message #177531 is a reply to message #177525] Fri, 06 April 2012 18:37 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 4/6/2012 10:10 AM, kurt krueckeberg wrote:
> I am setting up a Ubuntu (the problem also happens on Debian Squeeze)
> Virtual Private Server. I have installed php5 and php-pear. When I go
> to install a pear package from the command, or if I attempt to upgrade
> packages, for example
>
> # sudo pear upgrade-all
>
> pear always gets a "could not download" message. The command above
> gave:
>
> Could not download from "http://pear.php.net/get/
> Structures_Graph-1.0.4.tgz", cannot download
>
> "pear/structures_graph" (File http://pear.php.net:80/get/Structures_Graph-1.0.4.tgz
> not valid
>> (redirected but no location)) Error: cannot download "pear/Structures_Graph"
>
> I tried purge php-pear and reinstalling. I tried Debian instead of
> Ubuntu, but got the same message.

Works fine here on Debian squeeze. Does it still fail (temporary
problem at the server?

Maybe a firewall or routing trouble? Can you get to http://pear.php.net
from the failing VPS, i.e. with a web browser?

I'd suggest checking the Ubuntu mailing lists to diagnose it as a
possible network problem.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: pear command line not working [message #177532 is a reply to message #177525] Fri, 06 April 2012 19:15 Go to previous message
Mr. B-o-B is currently offline  Mr. B-o-B
Messages: 42
Registered: April 2011
Karma: 0
Member
On 4/6/2012 9:10 AM, kurt krueckeberg cried from the depths of the abyss:
> I am setting up a Ubuntu (the problem also happens on Debian Squeeze)
> Virtual Private Server. I have installed php5 and php-pear. When I go
> to install a pear package from the command, or if I attempt to upgrade
> packages, for example
>
> # sudo pear upgrade-all
>
> pear always gets a "could not download" message. The command above
> gave:
>
> Could not download from "http://pear.php.net/get/
> Structures_Graph-1.0.4.tgz", cannot download
>
> "pear/structures_graph" (File http://pear.php.net:80/get/Structures_Graph-1.0.4.tgz
> not valid
>> (redirected but no location)) Error: cannot download "pear/Structures_Graph"
>
> I tried purge php-pear and reinstalling. I tried Debian instead of
> Ubuntu, but got the same message.

What happens if you do a

update-channels

?

--
"I want to learn the ways of the Source, and be a Jedi like my Father."
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Lead an open source Project "Free Network and Office management system" in php or java.
Next Topic: variable path lose slashs when used in an alert
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 09:28:19 GMT 2024

Total time taken to generate the page: 0.02090 seconds