i have problems updating CPAN with the CPAN-shell. I hope this is a right place for asking such stuff. On CPAN itself i didn't find an appropriate mailing list. If i'm wrong here, please inform me and maybe you know where is a better place to ask. I'm not a developer, i'm a system administrator, my knowledge of perl tends to zero. I have a SLES 11 SP4 64bit with perl 5.10.0. When i start CPAN, it recommends to update:
New CPAN.pm version (v2.10) available. [Currently running version is v1.9205] You might want to try install CPAN reload cpan to both upgrade CPAN.pm and run the new version without leaving the current session.
I tried it already several times. So i deleted all stuff under ~/.cpan/build and also the Metadate file in ~/.cpan before executing the cpan shell again. The first error i get:
... Not in MANIFEST: blib/man3/CPAN::Version.3pm Not in MANIFEST: blib/script/.exists Not in MANIFEST: blib/script/cpan Not in MANIFEST: blib/script/cpan-mirrors Not in MANIFEST: Makefile Not in MANIFEST: MYMETA.json Not in MANIFEST: MYMETA.yml Not in MANIFEST: pm_to_blib ==> MISMATCHED content between MANIFEST and distribution files! <== skipped all skipped: verify failed, so only collect diagnostics t/01loadme....................ok t/02nox.......................ok t/03pkgs......................ok t/04clean_load................ok t/10version...................ok ...
later on:
t/30shell.....................ok t/31sessions..................ok 7/96 # Failed test 'cmd[test CPAN::Test::Dummy::Perl5::Make::OptionalPrer +eq]' # at t/31sessions.t line 560. # 'CPAN: LWP::UserAgent loaded ok (v5.816) # CPAN: Time::HiRes loaded ok (v1.9711) # CPAN: URI::URL loaded ok (v5.03)
This error i get 4 times. I also get:
# Warning: This index file is 16792 days old. # Please check the host you chose as your CPAN mirror for staleness. # I'll continue but problems seem likely to happen. # .................................................................... +........DONE
How can i check which host it is ? The result of the compiling is:
Failed Test Stat Wstat Total Fail List of Failed ---------------------------------------------------------------------- +--------- t/31sessions.t 4 1024 96 4 8 12 16-17 6 tests skipped. Failed 1/30 test scripts. 4/778 subtests failed. Files=30, Tests=778, 106 wallclock secs (80.65 cusr + 7.00 csys = 87. +65 CPU)
line 560 in 31sessions.t is:
is($CPAN::Config->{'7yYQS7'} => 'vGcVJQ'); our $VERBOSE = $ENV{VERBOSE} || 0; <== line 560 my $devnull = File::Spec->devnull;
Bernd
In reply to problems updating CPAN via CPAN by e-ferrari
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |