Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: How do I determine mirror used by cpanm?

by marto (Cardinal)
on Apr 09, 2020 at 14:33 UTC ( [id://11115278]=note: print w/replies, xml ) Need Help??


in reply to How do I determine mirror used by cpanm?

Did you look at the docs? Mirror/from.

  • Comment on Re: How do I determine mirror used by cpanm?

Replies are listed 'Best First'.
Re^2: How do I determine mirror used by cpanm?
by nysus (Parson) on Apr 09, 2020 at 14:55 UTC

    Yes, but I don't see how it's possible that cpan.org would serve out an outdated copy of the module. I figured there must be some local configuration that is telling it which mirror to use.

    But I just looked at the build log. It says: Fetching http://www.cpan.org/authors/id/J/JL/JLMARTIN/Paws-0.41.tar.gz So why would cpanm download an older version of this distriubtion? It should be downloading Paws-0.42, shouldn't it?

    $PM = "Perl Monk's";
    $MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest Vicar";
    $nysus = $PM . ' ' . $MCF;
    Click here if you love Perl Monks

      Look at 02packages.details.txt:

      Paws 0.41 J/JL/JLMARTIN/Paws-0.41.tar.g +z Paws::AccessAnalyzer undef J/JL/JLMARTIN/Paws-0.42.tar.g +z

      The clientas show:

      marto@marto-laptop~ $ sudo cpanm --info Paws JLMARTIN/Paws-0.41.tar.gz marto@marto-laptop~ $ sudo cpanm --info Paws::AccessAnalyzer JLMARTIN/Paws-0.42.tar.gz marto@marto-laptop~ $ cpan -D Paws Reading '/home/marto/.local/share/.cpan/Metadata' Database was generated on Thu, 09 Apr 2020 07:55:54 GMT Paws ---------------------------------------------------------------------- +--- (no description) J/JL/JLMARTIN/Paws-0.41.tar.gz (no installation file) Installed: not installed CPAN: 0.41 Not up to date Jose Luis Martinez Torres (JLMARTIN) jlmartinez@cpan.org
      can confirm. Both cpanm --info Paws and cpanplus l Paws indicate that the Version on CPAN is 0.41 …
      probably some missing index file or so.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11115278]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2024-04-23 16:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found