cbrooks (3267)

Stale mirrors in CPAN

This might be helpful to someone else -- the last few times that I've tried to install modules using CPAN.pm, the installation has hung as LWP tried to retrieve the source files across FTP. It turns out that the problem is with stale CPAN mirrors -- a simple lynx ftp://ftp.insert-your-mirror-here.com showed that over half of the mirrors in my $CPAN::Config->{ 'urllist' } were not accessible. Once I removed the non-responding URLs, I was able to install modules again.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Without JavaScript enabled, you might want to
use the classic discussion system instead. If you login, you can remember this preference.

Please Log In to Continue

Now I wonder how many stale mirrors are in the SITES file. I have been tracking the number of hosts for a bit, and occasionally posting the results on Perl At a Glance [theperlreview.com]. The numbers do not mean much if a lot of bad entries are in there.

I suppose I should start pinging all of the sites and tracking unreachable ones too. I should have that sort of code lying around somewhere.:)