cLive ;-) has asked for the wisdom of the Perl Monks concerning the following question:
Confused about this. From the cpanm build log:
Searching Net::SSH on cpanmetadb ... --> Working on Net::SSH Fetching http://www.cpan.org/authors/id/I/IV/IVAN/Net-SSH-0.09.tar.gz -> FAIL Download http://www.cpan.org/authors/id/I/IV/IVAN/Net-SSH-0.09 +.tar.gz failed. Retrying ... -> FAIL Download http://www.cpan.org/authors/id/I/IV/IVAN/Net-SSH-0.09 +.tar.gz failed. Retrying ... -> FAIL Download http://www.cpan.org/authors/id/I/IV/IVAN/Net-SSH-0.09 +.tar.gz failed. Retrying ... -> FAIL Failed to download http://www.cpan.org/authors/id/I/IV/IVAN/Ne +t-SSH-0.09.tar.gz -> FAIL Failed to fetch distribution Net-SSH-0.09
But, if I run this in the shell:
wget http://www.cpan.org/authors/id/I/IV/IVAN/Net-SSH-0.09.tar.gz
the module downloads as expected, and I can install manually.
That's great and all, but then I have to install each dependency manually.
I've deleted the .cpanm and .cpan directories in /root, but I still keep hitting this issue with every module I install. I've tried specifting wget or curl as CL args on cpanm, but they don't seem to be making a difference.
It worked fine when I first installed it, but then just stopped a few weeks ago.
I'm not sure how to debug this one. Any ideas?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: cpanm not retrieving remote files
by Old_Gray_Bear (Bishop) on Feb 26, 2015 at 22:13 UTC | |
|
Re: cpanm not retrieving remote files
by Anonymous Monk on Feb 27, 2015 at 00:42 UTC | |
by cLive ;-) (Prior) on Feb 27, 2015 at 03:36 UTC |