in reply to CPAN broken after update
G'day misterperl,
"CPAN said I had an update this morning, so I performed it, to v2.36 ."
Thanks for the heads-up. 😉 CPAN is indeed showing version 2.36 (updated 4 days ago). In response, I did the following:
ken@titan ~/tmp $ cpan ... cpan[1]> install CPAN ... ANDK/CPAN-2.36.tar.gz /usr/bin/make install -- OK cpan[2]> q $ perl -MCPAN -E 'say $CPAN::VERSION' 2.36 $ cpan -v /home/ken/perl5/perlbrew/perls/perl-5.36.0/bin/cpan script version 1.6 +78, CPAN.pm version 2.36 ken@titan ~/tmp $ cpan ... cpan[1]> o conf urllist urllist 0 [https://www.cpan.org/] 1 [https://cpan.metacpan.org/] ... cpan[2]> q $ ls -l ~/.cpan/CPAN/MyConfig.pm -rw-r--r-- 1 ken None 2286 May 31 2022 /home/ken/.cpan/CPAN/MyConfig. +pm $ grep urllist ~/.cpan/CPAN/MyConfig.pm 'urllist' => [q[https://www.cpan.org/], q[https://cpan.metacpan.org/ +]], $ perl -v | head -2 | tail -1 This is perl 5, version 36, subversion 0 (v5.36.0) built for cygwin-th +read-multi $ which perl /home/ken/perl5/perlbrew/perls/perl-5.36.0/bin/perl $ which cpan /home/ken/perl5/perlbrew/perls/perl-5.36.0/bin/cpan
So, everything worked for me. Unfortunately, "I performed it", "when I try to do almost anything", and similarly vague statements, do not help us to help you. Please provide something along the same lines as I've shown above; then we'll have concrete information to work with.
Please also use the "preview" button as many times as necessary to fix your markup; only then use the "create" button.
If you're making changes, but they don't seem to be taking effect, it's possible that some misalignment is occurring between perl and cpan. See my "which" commands above which show perl and cpan in the same directory.
See also the vulnerability "CVE-2020-16156: CPAN 2.28 allows Signature Verification Bypass" and, linked from there, "Addressing CPAN vulnerabilities related to checksums" which explains the problem and how to fix it.
You could also look at "CPAN Testers Matrix: CPAN 2.36" to see if others, with the same O/S and Perl version as you have, are experiencing any problems.
Another place to check is "Active bugs for CPAN". There are a lot there; I'll leave to wade through them to see if anything matches your problem.
— Ken
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: CPAN broken after update
by misterperl (Friar) on May 19, 2023 at 17:46 UTC | |
by kcott (Archbishop) on May 20, 2023 at 00:32 UTC |