Subject: | Playing nicer with CPAN::Site |
I'm using CPAN::Site for local/private distributions with a web server pointing at it. I have
CPAN::Site do a full index (meaning it's indexing both CPAN and my local distributions.
I then use cpanm like this:
$ cpanm -L ~/local_perl5_test --cascade-search --mirror http://localhost:9898/ --mirror
http://search.cpan.org/CPAN Catalyst
I then see messages like this:
--> Working on YAML
Fetching http://localhost:9898/authors/id/I/IN/INGY/YAML-0.81.tar.gz ... FAIL
! Download http://localhost:9898/authors/id/I/IN/INGY/YAML-0.81.tar.gz failed. Retrying ...
! Download http://localhost:9898/authors/id/I/IN/INGY/YAML-0.81.tar.gz failed. Retrying ...
! Download http://localhost:9898/authors/id/I/IN/INGY/YAML-0.81.tar.gz failed. Retrying ...
! Failed to download http://localhost:9898/authors/id/I/IN/INGY/YAML-0.81.tar.gz
Fetching http://search.cpan.org/CPAN/authors/id/I/IN/INGY/YAML-0.81.tar.gz ... OK
Configuring YAML-0.81 ... OK
Building and testing YAML-0.81 ... OK
Successfully installed YAML-0.81
Do you have any suggestions how to better run cpanm to avoid the complaining and/or make
it more efficient in determining where to fetch packages from?