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

Trouble initializing cpan

Thread Next
Jim Albert
April 14, 2021 04:00
Trouble initializing cpan
Message ID:
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/ line 

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

That string appears to come from:
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?


Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About