Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the App-cpanminus CPAN distribution.

Report information
The Basics
Id: 77996
Status: rejected
Priority: 0/
Queue: App-cpanminus

People
Owner: Nobody in particular
Requestors: mods [...] hank.org
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: (no value)
Fixed in: (no value)



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?
Subject: Re: [rt.cpan.org #77996] Playing nicer with CPAN::Site
Date: Sun, 24 Jun 2012 13:40:50 -0700
To: bug-App-cpanminus [...] rt.cpan.org
From: Tatsuhiko Miyagawa <miyagawa [...] gmail.com>
You should either stop indexing CPAN distribution on your local mirror, or you should cache these CPAN distributions in your local disk using minicpan etc. The behavior is expected. -- Tatsuhiko Miyagawa On Sunday, June 24, 2012 at 1:24 PM, Bill Moseley via RT wrote: Show quoted text
> Sun Jun 24 16:24:47 2012: Request 77996 was acted upon. > Transaction: Ticket created by HANK > Queue: App-cpanminus > Subject: Playing nicer with CPAN::Site > Broken in: (no value) > Severity: Unimportant > Owner: Nobody > Requestors: mods@hank.org (mailto:mods@hank.org) > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=77996 > > > > 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? > >
Closing this ticket. No bug here. In my local "darkpan" with CPAN::Site I'm indexing just my local (private) distributions. And using "--mirror $MY_CPAN --mirror http://search.cpan.org/CPAN --mirror_only" and it's working fine. I'm not using --cascade-search. Thanks agin for your help.