[Pdx-pm] what to do when cpan multiplexer selects very slow site?

Keith Lofstrom keithl at kl-ic.com
Wed Mar 21 07:53:04 PDT 2007

On Wed, Mar 21, 2007 at 03:35:33AM -0700, Michael G Schwern wrote:
> chromatic wrote:
> > On Tuesday 20 March 2007 22:52, Keith Lofstrom wrote:
> > 
> >> What is the Easy Way (tm)?
> > 
> > If you know the right mirror, "o conf cpan; o commit" within the CPAN shell.  
> > (Check the syntax.)
> o conf urllist unshift http://ftp.osuosl.org/pub/CPAN/
> o conf commit
> That's a mirror right here in Oregon.
> Otherwise, simply hitting Ctrl-c will cause CPAN to stop downloading and try
> another mirror in your list... or try another download method.  I can't
> remember which it does first.  Anyhow, that'll cause ftp.perl.org to cycle its
> mirrors.

Thank you chromatic and schwern!  The Ctrl-c method caused CPAN-1.76
on the ancient machine to just use the stale files, not try another
mirror.  Now that I have the magic recipe, and have added the speedy
"ftp.osuosl.org" to the list,  that will not happen again.  During
my frobbing, I grepped in /usr/lib/perl5/5.8.3/CPAN for the string
"ftp.perl.org", and didn't find it (Amusing workaround number 3 would
have been to change it by hand).  Apparently the urllist was empty
and ftp.perl.org was the (unspecified) default.  So there were a few
things broken, an upgrade of the CPAN module helped unbreak them,
and your recipe will be useful in the future.  Other things have
been upgraded, my knowledge is now at 2*epsilon, and I thank you.


Keith Lofstrom          keithl at keithl.com         Voice (503)-520-1993
KLIC --- Keith Lofstrom Integrated Circuits --- "Your Ideas in Silicon"
Design Contracting in Bipolar and CMOS - Analog, Digital, and Scan ICs

More information about the Pdx-pm-list mailing list