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?
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|