Hi,

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

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.