Kjetil has asked for the wisdom of the Perl Monks concerning the following question:
I have an issue with the CPAN shell that has lasted for some time, but it makes installation using the shell something that takes many hours, so it is rather irritating... Especially now that I'm a terrible hurry...
If I go install What::Ever, the shells starts to download, and tries one method, which fails, usually after a long timeout, then goes on to try another, which fails too, then another untill it has exhausted all methods. Then, it tries the next mirror in my mirror list. The same thing happens, it goes on to try the different methods, and after a few timouts, the next mirror. Untill, all of a sudden, it works, and after a few seconds, the module is installed and working.... I can't see any pattern in why it suddenly works, but apparently is does learn something about what doesn't work, and skips some methods after a while. But I can't really see any pattern in that either...
So, it isn't that it doesn't work at all, just that it often takes an hour with all these things about failing fetch methods...
This is an example output:
LWP works great with other modules, so I can't imagine it being at fault...Fetching with LWP: ftp://ftp.funet.fi/pub/languages/perl/CPAN/authors/01mailrc.txt.gz LWP failed with code[400] message[FTP return code 000] Fetching with Net::FTP: ftp://ftp.funet.fi/pub/languages/perl/CPAN/authors/01mailrc.txt.gz Couldn't fetch 01mailrc.txt.gz from ftp.funet.fi Fetching with LWP: ftp://ftp.du.se/pub/CPAN/authors/01mailrc.txt.gz LWP failed with code[400] message[FTP return code 000]
Have anybody else seen this behaviour?
If not, is there a way I can set the timeout to some small value, so at least the process is faster?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Problems accessing CPAN with the shell
by liz (Monsignor) on Dec 11, 2003 at 18:50 UTC | |
by Anonymous Monk on Jun 27, 2008 at 08:37 UTC | |
|
Re: Problems accessing CPAN with the shell
by jmanning2k (Pilgrim) on Dec 11, 2003 at 16:15 UTC | |
by Kjetil (Sexton) on Dec 11, 2003 at 17:50 UTC | |
by jmanning2k (Pilgrim) on Dec 11, 2003 at 20:13 UTC | |
|
Re: Problems accessing CPAN with the shell
by shenme (Priest) on Dec 11, 2003 at 18:28 UTC | |
by Kjetil (Sexton) on Dec 11, 2003 at 18:55 UTC | |
|
Re: Problems accessing CPAN with the shell
by jdtoronto (Prior) on Dec 11, 2003 at 16:06 UTC | |
by Kjetil (Sexton) on Dec 11, 2003 at 17:45 UTC |