develooper Front page | perl.cpan.discuss | Postings from April 2021

Trouble initializing cpan

Thread Next
From:
Jim Albert
Date:
April 14, 2021 04:00
Subject:
Trouble initializing cpan
Message ID:
04e24252-32fc-033b-4acd-81f3071f6529@netrition.com
I've used cpan on many servers and am configuring it on a new CentOS7 
server and am having trouble with the first run of cpan automatically 
finding mirrors.

I run cpan with no arguments and it goes through the auto config and 
errors at:

Would you like me to automatically choose some CPAN mirror
sites for you? (This means connecting to the Internet) [yes]
Looking for CPAN mirrors near you (please be patient)
string = Global CPAN CDN:
Invalid host name on line 36 at /usr/share/perl5/CPAN/FirstTime.pm line 
1855.

The string = Global CPAN CDN:
is some debug I added to CPAN/Mirrors.pm to see what's going on.

That string appears to come from:
http://www.cpan.org/MIRRORED.BY
and line 36 is indeed:
"Global CPAN CDN:"

I don't believe I've done anything different than I've done dozens of 
times in the past.

Any ideas of what might be happening or maybe there are cpan problems at 
the moment?

Thanks,
Jim


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About