Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: How do I determine mirror used by cpanm?

by marto (Archbishop)
on Apr 09, 2020 at 14:33 UTC ( #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 (Vicar) 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
Node Status?
node history
Node Type: note [id://11115278]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2020-06-01 16:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?



    Results (5 votes). Check out past polls.

    Notices?