CPAN said I had an update this morning, so I performed it, to v2.36 . I THINK the previous version was around 1.96. I'm not sure because on the older systems, the command
linux> cpan -v linux>
does just that (nothing, no error, but no version either). On the updated system it reports v.2.36

Since the update, when I try to do almost anything, I get this message:

CPAN: Net::SSLeay loaded ok (v1.55) CPAN: IO::Socket::SSL loaded ok (v2.056) Fetching with HTTP::Tiny: https://cpan.org/authors/01mailrc.txt.gz HTTP::Tiny failed with an internal error: SSL connection failed for cp +an.org: SSL connect attempt failed error:14090086:SSL routines:ssl3_g +et_server_certificate:certificate verify failed
I talked to CHATBOT AI, who suggested I edit ~/.cpan/CPAN/MyConfig.pm and change 'urllist' => [qhttps://cpan.org/] </code>to'urllist' => [q[http://cpan.org/]] (remove the "s") which I did; no effect.

I also tried to change it to both of these:

'urllist' => [q[http://metacpan.org/]] and 'urllist' => [q[http://cpantesters.org/]]
But the error remained. It STILL looked in https://cpan.org, no matter WHAT I set that line to.

I also deleted /.cpan/BUILD , which chatbotAI said would kill the cache. No change, still the same error. It's ignoring the config changes. Yet when I rm -f .cpan, it rebuilds it THERE. So it does expect the config to be there. I'm doing all of this as root. I also did an updatebb and then locate on .cpan and the only one on the box is under ~/. Surprisingly, even

cpan -M https://cpan.cpantesters.org/ Crypt::RSA
results in the same error and STILL looks in cpan.org!
Fetching with HTTP::Tiny: https://cpan.org/modules/02packages.details.txt.gz

Friday, I have a ton of code to write, and down this rabbit-hole was the LAST thing I needed! Help is most appreciated- even help on going BACK to v1.9x ?


In reply to CPAN broken after update by misterperl

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.