in reply to CPAN error on first run

I just quickly reviewed a few Google'd results for this issue, and it seems it's related to not being able to find a mirror candidate (possibly due to networking issue?).

First, ensure that your network is up and ok. ping 8.8.8.8, dig perlmonks.org. After that, and it still doesn't work, try answering "no" to "Would you like me to automatically choose some CPAN mirror sites for you?", then, go to CPAN sites, and enter some in manually.

Let us know if this works out for you.

-stevieb

Update: Do you need to go through a proxy? If so, and you haven't configured CPAN to do so, this would cause the error you're seeing as well.

Replies are listed 'Best First'.
Re^2: CPAN error on first run
by perabora (Initiate) on Sep 29, 2015 at 08:19 UTC

    network is ok

    configured to go through a proxy and CPAN is also configure for the proxy.

    Finally realised that a colleague had installed CPANMinus and this works flawlessly.

    Could this be the issue CPAN and CPANMinus (cpanm) can't be installed concurrently?

      Could this be the issue CPAN and CPANMinus (cpanm) can't be installed concurrently?

      No