Taking out cpan.strawberryperl.com from the urllist avoids the redirect, but still the LWP get from cpan.pair.com fails with status500; but the fallback to wget succeeds:
C:\test>cpan
cpan shell -- CPAN exploration and modules installation (v2.05)
Enter 'h' for help.
cpan> o conf urllist
urllist
0 [http://cpan.strawberryperl.com/]
1 [http://www.cpan.org/]
Type 'o conf' to view all configuration items
cpan> o conf urllist shift
commit: wrote 'C:\perl5.18\perl\lib/CPAN/Config.pm'
cpan> o conf urllist
urllist
0 [http://www.cpan.org/]
Type 'o conf' to view all configuration items
cpan> reload index
Fetching with LWP:
http://www.cpan.org/authors/01mailrc.txt.gz
LWP failed with code[500] message[Can't connect to www.cpan.org:80]
Trying with
c:/perl64/bin/wget.exe -O "C:\Perl5.18\cpan\sources\authors\01mail
+rc.txt.gz.tmp7328"
to get
http://www.cpan.org/authors/01mailrc.txt.gz
--2014-12-31 00:22:29-- http://www.cpan.org/authors/01mailrc.txt.gz
Resolving www.cpan.org... 94.242.223.198
Connecting to www.cpan.org|94.242.223.198|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 228720 (223K) [application/x-gzip]
Saving to: `C:/Perl5.18/cpan/sources/authors/01mailrc.txt.gz.tmp7328'
100%[===============================================================>]
+ 228,720 --.-K/s in 0.1s
2014-12-31 00:22:30 (1.56 MB/s) - `C:/Perl5.18/cpan/sources/authors/01
+mailrc.txt.gz.tmp7328' saved [228720/228720]
Fetching with LWP:
http://www.cpan.org/modules/02packages.details.txt.gz
LWP failed with code[500] message[Can't connect to www.cpan.org:80]
Trying with
c:/perl64/bin/wget.exe -O "C:\Perl5.18\cpan\sources\modules\02pack
+ages.details.txt.gz.tmp7328"
to get
http://www.cpan.org/modules/02packages.details.txt.gz
--2014-12-31 00:22:30-- http://www.cpan.org/modules/02packages.detail
+s.txt.gz
Resolving www.cpan.org... 94.242.223.198
Connecting to www.cpan.org|94.242.223.198|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1615484 (1.5M) [application/x-gzip]
Saving to: `C:/Perl5.18/cpan/sources/modules/02packages.details.txt.gz
+.tmp7328'
100%[===============================================================>]
+ 1,615,484 2.11M/s in 0.7s
2014-12-31 00:22:31 (2.11 MB/s) - `C:/Perl5.18/cpan/sources/modules/02
+packages.details.txt.gz.tmp7328' saved [1615484/1615484]
Fetching with LWP:
http://www.cpan.org/modules/03modlist.data.gz
LWP failed with code[500] message[Can't connect to www.cpan.org:80]
Trying with
c:/perl64/bin/wget.exe -O "C:\Perl5.18\cpan\sources\modules\03modl
+ist.data.gz.tmp7328"
to get
http://www.cpan.org/modules/03modlist.data.gz
--2014-12-31 00:22:31-- http://www.cpan.org/modules/03modlist.data.gz
Resolving www.cpan.org... 94.242.223.198
Connecting to www.cpan.org|94.242.223.198|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 248 [application/x-gzip]
Saving to: `C:/Perl5.18/cpan/sources/modules/03modlist.data.gz.tmp7328
+'
100%[===============================================================>]
+ 248 --.-K/s in 0s
2014-12-31 00:22:31 (2.55 MB/s) - `C:/Perl5.18/cpan/sources/modules/03
+modlist.data.gz.tmp7328' saved [248/248]
Database was generated on Wed, 31 Dec 2014 00:20:56 GMT
Updating database file ...
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
|