BrowserUk has asked for the wisdom of the Perl Monks concerning the following question:
Every time I've tried to use the cpan shell that comes with a strawberry perl install, I get a bunch of these errors:
cpan> install GD Fetching with LWP: http://cpan.strawberryperl.com/authors/01mailrc.txt.gz LWP failed with code[500] message[Can't connect to cpan.strawberryperl +.com:80] Warning: no success downloading 'C:\Perl5.18\cpan\sources\authors\01ma +ilrc.txt.gz.tmp11056'. Giving up on it.
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] Warning: no success downloading 'C:\Perl5.18\cpan\sources\authors\01ma +ilrc.txt.gz.tmp11056'. Giving up on it. 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] Warning: no success downloading 'C:\Perl5.18\cpan\sources\authors\01ma +ilrc.txt.gz.tmp11056'. Giving up on it. Fetching with LWP: http://www.cpan.org/authors/01mailrc.txt.gz Fetching with LWP: http://cpan.strawberryperl.com/modules/02packages.details.txt.gz LWP failed with code[500] message[Can't connect to cpan.strawberryperl +.com:80] Warning: no success downloading 'C:\Perl5.18\cpan\sources\modules\02pa +ckages.details.txt.gz.tmp11056'. Giving up on it. Fetching with LWP: http://www.cpan.org/modules/02packages.details.txt.gz Fetching with LWP: http://cpan.strawberryperl.com/modules/03modlist.data.gz LWP failed with code[500] message[Can't connect to cpan.strawberryperl +.com:80] Warning: no success downloading 'C:\Perl5.18\cpan\sources\modules\03mo +dlist.data.gz.tmp11056'. Giving up on it. 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] Warning: no success downloading 'C:\Perl5.18\cpan\sources\modules\03mo +dlist.data.gz.tmp11056'. Giving up on it. 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] Warning: no success downloading 'C:\Perl5.18\cpan\sources\modules\03mo +dlist.data.gz.tmp11056'. Giving up on it. Fetching with LWP: http://www.cpan.org/modules/03modlist.data.gz Database was generated on Tue, 23 Dec 2014 13:26:01 GMT Updating database file ... Done! Running install for module 'GD' Fetching with LWP: http://www.cpan.org/authors/id/L/LD/LDS/GD-2.56.tar.gz LWP failed with code[500] message[Can't connect to www.cpan.org:80] Warning: no success downloading 'C:\Perl5.18\cpan\sources\authors\id\L +\LD\LDS\GD-2.56.tar.gz.tmp11056'. Giving up on it. Fetching with LWP: http://www.cpan.org/authors/id/L/LD/LDS/GD-2.56.tar.gz Fetching with LWP: http://www.cpan.org/authors/id/L/LD/LDS/CHECKSUMS Fetching with LWP: http://www.cpan.org/authors/id/L/LD/LDS/CHECKSUMS.gz Warning: no success downloading 'C:\Perl5.18\cpan\sources\authors\id\L +\LD\LDS\CHECKSUMS.tmp11056'. Giving up on it. Fetching with LWP: http://cpan.strawberryperl.com/authors/id/L/LD/LDS/CHECKSUMS Fetching with LWP: http://cpan.strawberryperl.com/authors/id/L/LD/LDS/CHECKSUMS.gz Warning: no success downloading 'C:\Perl5.18\cpan\sources\authors\id\L +\LD\LDS\CHECKSUMS.tmp11056'. Giving up on it. Fetching with LWP: http://www.cpan.org/authors/id/L/LD/LDS/CHECKSUMS Fetching with LWP: http://www.cpan.org/authors/id/L/LD/LDS/CHECKSUMS.gz Warning: no success downloading 'C:\Perl5.18\cpan\sources\authors\id\L +\LD\LDS\CHECKSUMS.tmp11056'. Giving up on it. Fetching with LWP: http://cpan.strawberryperl.com/authors/id/L/LD/LDS/CHECKSUMS Fetching with LWP: http://cpan.strawberryperl.com/authors/id/L/LD/LDS/CHECKSUMS.gz Warning: no success downloading 'C:\Perl5.18\cpan\sources\authors\id\L +\LD\LDS\CHECKSUMS.tmp11056'. Giving up on it. Warning: no success downloading 'C:\Perl5.18\cpan\sources\authors\id\L +\LD\LDS\CHECKSUMS.tmp11056'. Giving up on it. No external ftp command available Warning: no success downloading 'C:\Perl5.18\cpan\sources\authors\id\L +\LD\LDS\CHECKSUMS.tmp11056'. Giving up on it. No external ftp command available Please check, if the URLs I found in your configuration file (http://cpan.strawberryperl.com/, http://www.cpan.org/, http://www.cpan.org/, http://www.cpan.org/) are valid. The urllist can + be edited. E.g. with 'o conf urllist push ftp://myurl/' Could not fetch authors/id/L/LD/LDS/CHECKSUMS
If I paste any of those urls into my browser, it immediately finds the file, so what gives? (Please note that LWP did succeed in downloading one of the files...)
Basically, why would LWP fail repeatedly from many sources most of the time but occassionally succeed?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: cpan & strawberry perl errors
by Corion (Patriarch) on Dec 30, 2014 at 14:18 UTC | |
by BrowserUk (Patriarch) on Dec 30, 2014 at 14:51 UTC | |
by Corion (Patriarch) on Dec 30, 2014 at 15:12 UTC | |
by BrowserUk (Patriarch) on Dec 30, 2014 at 18:43 UTC | |
|
Re: cpan & strawberry perl errors
by syphilis (Archbishop) on Dec 31, 2014 at 00:06 UTC | |
by BrowserUk (Patriarch) on Dec 31, 2014 at 00:26 UTC | |
|
Re: cpan & strawberry perl errors
by Anonymous Monk on Dec 31, 2014 at 08:53 UTC | |
by BrowserUk (Patriarch) on Dec 31, 2014 at 10:34 UTC | |
by Anonymous Monk on Dec 31, 2014 at 10:55 UTC | |
by BrowserUk (Patriarch) on Dec 31, 2014 at 11:05 UTC | |
by Anonymous Monk on Dec 31, 2014 at 11:13 UTC | |
by BrowserUk (Patriarch) on Dec 31, 2014 at 11:08 UTC | |
by Anonymous Monk on Dec 31, 2014 at 11:18 UTC | |
|