I'm installing LWP via CPAN. What do you guys think the source of this error is? I've tried doing install Bundle::CPAN but that errors out just the same.

cpan> install Bundle::LWP Going to read /home/user/.cpan/sources/authors/01mailrc.txt.gz Going to read /home/user/.cpan/sources/modules/02packages.details.txt. +gz Warning: Your /home/user/.cpan/sources/modules/02packages.details.txt. +gz does not contain a Line-Count header. Please check the validity of the index file by comparing it to more than one CPAN mirror. I'll continue but problems seem likely to happen. Warning: Your /home/user/.cpan/sources/modules/02packages.details.txt. +gz does not contain a Last-Updated header. Please check the validity of the index file by comparing it to more than one CPAN mirror. I'll continue but problems seem likely to happen. Going to read /home/user/.cpan/sources/modules/03modlist.data.gz Can't locate object method "data" via package "CPAN::Modulelist" (perh +aps you forgot to load "CPAN::Modulelist"?) at (eval 15) line 1. at /usr/lib/perl5/5.8.5/CPAN.pm line 3406 CPAN::Index::rd_modlist('CPAN::Index', '/home/user/.cpan/sourc +es/modules/03modlist.data.gz') called at /usr/lib/perl5/5.8.5/CPAN.pm + line 3129 CPAN::Index::reload('CPAN::Index') called at /usr/lib/perl5/5. +8.5/CPAN.pm line 786 CPAN::instance('CPAN=HASH(0x94371e4)', 'CPAN::Bundle', 'Bundle +::Apache2') called at /usr/lib/perl5/5.8.5/CPAN.pm line 1428 CPAN::Shell::local_bundles('CPAN::Shell') called at /usr/lib/p +erl5/5.8.5/CPAN.pm line 1836 CPAN::Shell::expandany('CPAN::Shell', 'Bundle::LWP') called at + /usr/lib/perl5/5.8.5/CPAN.pm line 2078 CPAN::Shell::rematein('CPAN::Shell', 'install', 'Bundle::LWP') + called at /usr/lib/perl5/5.8.5/CPAN.pm line 2165 CPAN::Shell::install('CPAN::Shell', 'Bundle::LWP') called at / +usr/lib/perl5/5.8.5/CPAN.pm line 201 eval {...} called at /usr/lib/perl5/5.8.5/CPAN.pm line 201 CPAN::shell() called at /usr/bin/cpan line 193 cpan>

In reply to CPAN Install Problem (install Bundle::LWP) by awohld

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.