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?
In reply to Problems accessing CPAN with the shell by Kjetil
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |