Hi,

I've been banging my head against this problem for two days, with no joy, perhaps someone else can help?
I have just installed RedHat 8 on my laptop, which was running Redhat 7.2 very nicely, and CPAN is broken. I did a complete re-install, not an upgrade.

All the components work individually, for example I can get files with ftp and libwww (lwpget) from the CPAN mirrors, but when running the CPAN shell, I can't retrieve any files. Pulling the MIRRORED.BY file over manually allowed me to complete the initial CPAN setup successfully, but I still can't retrieve any files. The LWP access mode just fails with no error message, and the ftp access mode fails at the RETR command, with error 400 and response code 425 from the server

FTP Error- 425
425 Can't build data connection: Connection refused.

This error message is coming from all of the mirror sites in MyConfig.pm. The CPAN shell works fine on the same machine running Windows 2000. All the other internet services seem to be running normally. I use this machine from home over a modem line, so there shouldn't be any odd firewall stuff going on.

Any thoughts?? (Help!!)

--
Anthony Staines

In reply to Help with CPAN failing by astaines

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.