FWIW, I got the same error trying to install CPAN with cpanp.
export PERL5_CPANPLUS_HOME=/home/me cpanp -i CPAN [MSG] No '/home/me/.cpanplus/custom-sources' dir, skipping custom sour +ces [MSG] No '/home/me/.cpanplus/custom-sources' dir, skipping custom sour +ces [MSG] No '/home/me/.cpanplus/custom-sources' dir, skipping custom sour +ces Installing CPAN (2.37) gpg: Signature made Fri Aug 30 13:11:50 2024 EDT gpg: using RSA key C40BA553F730173DA63AA20F7EFCE8AC421E +E20A gpg: requesting key 7EFCE8AC421EE20A from hkp://keyserver.ubuntu.com:1 +1371 gpg: Can't check signature: No public key ==> BAD/TAMPERED signature detected! <== [ERROR] Signature check failed for module 'CPAN' -- Not trusting this +module, aborting install
but, turning off signatures worked.
cpanp CPAN Terminal> s conf signature 0 CPAN Terminal> i CPAN Installing CPAN (2.37) ... All tests successful. Files=32, Tests=627, 217 wallclock secs ( 0.11 usr 0.14 sys + 23.52 c +usr 85.69 csys = 109.46 CPU) Result: PASS *** Install log written to: /home/me/.cpanplus/install-logs/CPAN-2.37-1727728783.log Module 'CPAN' installed successfully No errors installing all modules
cpan CPAN and cpanm CPAN both worked without issue.

In reply to Re: GPG-Signed modules fail to install using cpanp under CygwinPerl by Danny
in thread GPG-Signed modules fail to install using cpanp under CygwinPerl by Intrepid

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.