Hi,

I'm using Ubuntu 10.04 on VMware player under Windows. I am behind a proxy, and it is well defined in the Ubunto virtual machine under System>Preferences>Network Proxy. I can surf the web with no problems using the browser in the VM.

I am trying to install GBrowse as explained in http://gmod.org/wiki/GBrowse_Ubuntu_HOWTO. Installing Apache, Apache-modperl, MySQL and the rest of the prereqs was a breeze, but when I start sudo perl gbrowse_netinstall.pl I got

*** Installing Perl files needed for a net-based install *** Dispatching deprecated method 'CPAN::Config::load' to CPAN::HandleConf +ig Dispatching deprecated method 'CPAN::Config::commit' to CPAN::HandleCo +nfig commit: wrote '/etc/perl/CPAN/Config.pm' CPAN: Time::HiRes loaded ok (v1.9719) Warning: no success downloading '/home/vadmin/.cpan/sources/authors/01 +mailrc.txt.gz.tmp18577'. Giving up on it. at /usr/share/perl/5.10/CPA +N/Index.pm line 225 Fetching with LWP: http://www.perl.org/CPAN/authors/01mailrc.txt.gz LWP failed with code[500] message[read timeout] Trying with "/usr/bin/wget -O /home/vadmin/.cpan/sources/authors/01mai +lrc.txt.tmp18577" to get "http://www.perl.org/CPAN/authors/01mailrc.txt.gz" --2010-06-28 12:26:11-- http://www.perl.org/CPAN/authors/01mailrc.txt +.gz Resolving www.perl.org... 207.171.7.63 Connecting to www.perl.org|207.171.7.63|:80... connected. HTTP request sent, awaiting response...
and it lingers like that with no change...

I entered http://www.perl.org/CPAN/authors/01mailrc.txt.gz in my browser address basr and I can see the file. I tried wget http://www.perl.org/CPAN/authors/01mailrc.txt.gz from the shall and I get the same

http://www.perl.org/CPAN/authors/01mailrc.txt.gz Resolving www.perl.org... 207.171.7.63 Connecting to www.perl.org|207.171.7.63|:80... connected. HTTP request sent, awaiting response...

I tried wget http://www.perlmonks.org/ and also got

http://www.perl.org/CPAN/authors/01mailrc.txt.gz Resolving www.perl.org... 207.171.7.63 Connecting to www.perl.org|207.171.7.63|:80... connected. HTTP request sent, awaiting response.

What's going on here?

UPDATE

Following http://davesource.com/Solutions/20040620.CPAN-Timeouts.html I set ftp_int_passive => 1in ./etc/perl/Net/libnet.cfg, but this does not seem to make a difference.


In reply to Problem installing CPAN modules by daverave

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.