Subject: | urllist falls back to cpan.org but not forward to configured value |
Date: | Tue, 13 Dec 2011 20:41:28 -0800 |
To: | bug-CPAN [...] rt.cpan.org |
From: | zengargoyle <zengargoyle [...] gmail.com> |
CPAN 1.960001 Perl 5.14.2
A MyConfig.pm setup to use a local mirror:
'urllist' => [q[http://zim.local/CPAN]],
and doing roughly:
while (my $pkg = <>) {
chomp $pkg;
my $mostly_useless_rc = CPAN::Shel->install($pkg);
}
to do a batch of installs... when a distribution fie is not found for some
reason on the local mirror, CPAN will (grrr) switch to http://www.cpan.org
and (grrr more) will continue to use www.cpan.org for the rest of the
installations
instead of attempting to switch back to the requested local mirror.
Further info. I had just done a minicpan update on the local server (guess a
few files hadn't made it to ftp.osuosl.org/pub/CPAN yet) and using the output
of cpan-outdated (so looking for specific A/AU/AUTHOR/Dist-#.#.tar.gz dists).
No problems seen with the local mirror, the first half of the installs
went as planned
until the switch to www.cpan.org