Subject: | Re: Not a bug exactly, but a problem installing Text::CSV::Slurp with cpanminus |
Date: | Tue, 17 Jan 2012 17:14:01 +0100 |
To: | bug-App-cpanminus [...] rt.cpan.org |
From: | Thijs Oppermann <thijs.oppermann [...] tty.nl> |
I think my problem is indeed with the cpanmetadb used by cpanminus.
The following call on the default metadb used by cpanm:
cpanmetadb.plackperl.org/v1.0/package/Text::CSV::Slurp
results in this:
---
distfile: R/RO/ROBBIEBOW/Text-CSV-Slurp-0.9.tar.gz
version: 0.9
This clearly differs from the download path for that package on the cpan
site, which is:
http://search.cpan.org/CPAN/authors/id/B/BA/BABF/Text-CSV-Slurp-0.9.tar.gz
How can this be fixed? I'm now testing with the experimental --metacpan
option, but if that uses the same backend to get its data that's not
going to help much...
Thijs
On 01/04/2012 11:28 AM, Thijs Oppermann wrote:
Show quoted text
> Not sure if this is a problem with Text::CSV::Slurp, cpanminus or some
> mirrors specifically, but lately I have been having intermittent errors
> when trying to install Text::CSV::Slurp using cpanminus. The problem is
> with certain mirrors, but I'm not sure why (I assumed all mirrors should
> be more or less equal?).
>
> Below is part of the output I get from two separate runs to install
> Text::CSV::Slurp, using two --mirror clauses, the first fixed at
> xs4all.nl (closest to me), the second the fallback to search.cpan.org.
>
> As you can see the first try fails, while the second succeeds.
>
> FAIL:
>
> --> Working on Text::CSV::Slurp
> Fetching
> http://download.xs4all.nl/pub/mirror/CPAN/authors/id/R/RO/ROBBIEBOW/Text-CSV-Slurp-0.9.tar.gz
> ... FAIL
> ! Download
> http://download.xs4all.nl/pub/mirror/CPAN/authors/id/R/RO/ROBBIEBOW/Text-CSV-Slurp-0.9.tar.gz
> failed. Retrying ...
> ! Download
> http://download.xs4all.nl/pub/mirror/CPAN/authors/id/R/RO/ROBBIEBOW/Text-CSV-Slurp-0.9.tar.gz
> failed. Retrying ...
> ! Download
> http://download.xs4all.nl/pub/mirror/CPAN/authors/id/R/RO/ROBBIEBOW/Text-CSV-Slurp-0.9.tar.gz
> failed. Retrying ...
> ! Failed to download
> http://download.xs4all.nl/pub/mirror/CPAN/authors/id/R/RO/ROBBIEBOW/Text-CSV-Slurp-0.9.tar.gz
>
> Fetching
> http://search.cpan.org/CPAN/authors/id/R/RO/ROBBIEBOW/Text-CSV-Slurp-0.9.tar.gz
> ... FAIL
> ! Download
> http://search.cpan.org/CPAN/authors/id/R/RO/ROBBIEBOW/Text-CSV-Slurp-0.9.tar.gz
> failed. Retrying ...
> ! Download
> http://search.cpan.org/CPAN/authors/id/R/RO/ROBBIEBOW/Text-CSV-Slurp-0.9.tar.gz
> failed. Retrying ...
> ! Download
> http://search.cpan.org/CPAN/authors/id/R/RO/ROBBIEBOW/Text-CSV-Slurp-0.9.tar.gz
> failed. Retrying ...
> ! Failed to download
> http://search.cpan.org/CPAN/authors/id/R/RO/ROBBIEBOW/Text-CSV-Slurp-0.9.tar.gz
>
> ! Failed to fetch distribution Text-CSV-Slurp-0.9
> Installing Text::CSV::Slurp failed!
>
>
> OK:
>
> --> Working on Text::CSV::Slurp
>
> Fetching
> http://download.xs4all.nl/pub/mirror/CPAN/authors/id/R/RO/ROBBIEBOW/Text-CSV-Slurp-0.9.tar.gz
> ... FAIL
> ! Download
> http://download.xs4all.nl/pub/mirror/CPAN/authors/id/R/RO/ROBBIEBOW/Text-CSV-Slurp-0.9.tar.gz
> failed. Retrying ...
> ! Download
> http://download.xs4all.nl/pub/mirror/CPAN/authors/id/R/RO/ROBBIEBOW/Text-CSV-Slurp-0.9.tar.gz
> failed. Retrying ...
> ! Download
> http://download.xs4all.nl/pub/mirror/CPAN/authors/id/R/RO/ROBBIEBOW/Text-CSV-Slurp-0.9.tar.gz
> failed. Retrying ...
> ! Failed to download
> http://download.xs4all.nl/pub/mirror/CPAN/authors/id/R/RO/ROBBIEBOW/Text-CSV-Slurp-0.9.tar.gz
>
> Fetching
> http://search.cpan.org/CPAN/authors/id/R/RO/ROBBIEBOW/Text-CSV-Slurp-0.9.tar.gz
> ... FAIL
> ! Download
> http://search.cpan.org/CPAN/authors/id/R/RO/ROBBIEBOW/Text-CSV-Slurp-0.9.tar.gz
> failed. Retrying ...
> ! Download
> http://search.cpan.org/CPAN/authors/id/R/RO/ROBBIEBOW/Text-CSV-Slurp-0.9.tar.gz
> failed. Retrying ...
> Configuring Text-CSV-Slurp-0.9 ... OK
>
> Building and testing Text-CSV-Slurp-0.9 ... OK
>
> Successfully installed Text-CSV-Slurp-0.9
>
> 1 distribution installed
>
> Installed package Text::CSV::Slurp
>
>
>
> I'm assuming the second run succeeds because the search.cpan.org geo
> location aware redirector points me to a mirror that apparantly does
> have the correct files.
>
> Is there any way to find out what's really going on and why some mirrors
> seem not to have (the correct?) Text:CSV::Slurp.
>
> One thing I noticed is that the downloads above all go for
> 'authors/id/R/RO/ROBBIEBOW/', while the download link on the cpan
> website points to 'authors/id/B/BA/BABF/Text-CSV-Slurp-0.9.tar.gz'?
>
>
> Thanks for any hints, tips, reply, etc...
>
> Thijs