Subject: | CPAN setup should provide adequate error message when ftp server overloaded |
when running cpan for the first time (e.g. by calling perl -MCPAN -e 'install DBI'), it tries to download various files.
<<You have no /root/.cpan/sources/MIRRORED.BY
I'm trying to fetch one
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY
Fetching with LWP:
ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY.gz
Fetching with Net::FTP:
ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY
...>
and many more attempts and then it eventually fails.
By hand, I noticed with cftp:
421 There are already 1500 users logged on. Try again in 10 minutes.
This would obviously be very helpful!
Rgds r.