Contact SalesSitemapCustomer Login

Go Back   VPSlink Forums > Operating Systems > Ubuntu

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 04-06-2012, 03:07 PM
Member
 
Join Date: Jul 2006
Posts: 84
Default pear command line not working

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
Code:
# sudo pear upgrade-all
pear always gets a "could not download" message. The command above gave:

Quote:
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.
Reply With Quote
  #2 (permalink)  
Old 04-08-2012, 08:46 PM
Moderator
 
Join Date: Jul 2009
Location: New York
Posts: 464
Default

is this on vpslink? dunno what to tell you but that error message is telling you that it can't download the file. maybe the respository is having issues or you somehow blocking the download ip of that file.

either try again or check your firewall.
__________________
Happily on a Link3. Feel free to request a refferal code that takes a 10% lifetime discount off your hosting.
Please open a SUPPORT TICKET AND CALL vpslink to resolve your vpslink problems FIRST
I am a CUSTOMER Only. Any vpslink issues should be directed to Matt@VPSLink and/or Michael@VPSLink
Reply With Quote
  #3 (permalink)  
Old 04-08-2012, 08:53 PM
Member
 
Join Date: Jul 2006
Posts: 84
Default

No, this is not on vpslink. There is no firewall. I think it had something to do with the OS template they used because I tried a different hoster and didn't have the problem.
Reply With Quote
  #4 (permalink)  
Old 04-08-2012, 11:37 PM
Moderator
 
Join Date: Jul 2009
Location: New York
Posts: 464
Default

then you have a dns name server problem. change your name servers to google or something.

that error message is pretty clear and i can download that file from my connection so I have no other suggestions at this time.
__________________
Happily on a Link3. Feel free to request a refferal code that takes a 10% lifetime discount off your hosting.
Please open a SUPPORT TICKET AND CALL vpslink to resolve your vpslink problems FIRST
I am a CUSTOMER Only. Any vpslink issues should be directed to Matt@VPSLink and/or Michael@VPSLink
Reply With Quote
  #5 (permalink)  
Old 04-09-2012, 12:23 AM
Member
 
Join Date: Jul 2006
Posts: 84
Default

What makes you think it is a name server problem? I don't even have an A record setup for the IP. I'm connecting via SSH using the IP address.
Reply With Quote
  #6 (permalink)  
Old 04-09-2012, 01:15 AM
Moderator
 
Join Date: Jul 2009
Location: New York
Posts: 464
Default

?.

/etc/resolv.conf
__________________
Happily on a Link3. Feel free to request a refferal code that takes a 10% lifetime discount off your hosting.
Please open a SUPPORT TICKET AND CALL vpslink to resolve your vpslink problems FIRST
I am a CUSTOMER Only. Any vpslink issues should be directed to Matt@VPSLink and/or Michael@VPSLink
Reply With Quote
  #7 (permalink)  
Old 04-09-2012, 01:46 AM
Member
 
Join Date: Jul 2006
Posts: 84
Default

Code:
# cat /etc/resolv.conf

nameserver 199.127.224.3
Reply With Quote
  #8 (permalink)  
Old 04-09-2012, 03:15 AM
Moderator
 
Join Date: Jul 2009
Location: New York
Posts: 464
Default

i'm sorry are you trolling? i've helped all i can but if you are unwilling to change your resolv.conf to one of the public nameservers than you are just wasting my time.
__________________
Happily on a Link3. Feel free to request a refferal code that takes a 10% lifetime discount off your hosting.
Please open a SUPPORT TICKET AND CALL vpslink to resolve your vpslink problems FIRST
I am a CUSTOMER Only. Any vpslink issues should be directed to Matt@VPSLink and/or Michael@VPSLink
Reply With Quote
  #9 (permalink)  
Old 04-09-2012, 04:07 AM
Member
 
Join Date: Jul 2006
Posts: 84
Default

Sorry, I should have mentioned it's not a vpslink account.
Reply With Quote
Reply

Bookmarks

Tags
command line, pear, ubuntu

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT. The time now is 02:22 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0