Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: CPAN install module error

by staszeko (Initiate)
on Mar 23, 2017 at 21:45 UTC ( [id://1185686]=note: print w/replies, xml ) Need Help??


in reply to Re: CPAN install module error
in thread CPAN install module error

Actually, this was a typo in my post.

Below is the full output of the command.

# cpan -i Log::Log4perl CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Database was generated on Thu, 16 Jul 2009 15:27:04 GMT Going to read /root/.cpan/sources/authors/01mailrc.txt.gz CPAN: Compress::Zlib loaded ok Going to read /root/.cpan/sources/modules/02packages.details.txt.gz Warning: Your /root/.cpan/sources/modules/02packages.details.txt.gz do +es 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 /root/.cpan/sources/modules/02packages.details.txt.gz do +es 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 /root/.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 20) line 1, <FH> + line 20. at /usr/lib/perl5/5.8.8/CPAN.pm line 3405 CPAN::Index::rd_modlist('CPAN::Index', '/root/.cpan/sources/mo +dules/03modlist.data.gz') called at /usr/lib/perl5/5.8.8/CPAN.pm line + 3128 CPAN::Index::reload('CPAN::Index') called at /usr/lib/perl5/5. +8.8/CPAN.pm line 675 CPAN::exists('CPAN=HASH(0x9c77f50)', 'CPAN::Module', 'Log::Log +4perl') called at /usr/lib/perl5/5.8.8/CPAN.pm line 1841 CPAN::Shell::expandany('CPAN::Shell', 'Log::Log4perl') called +at /usr/lib/perl5/5.8.8/CPAN.pm line 2077 CPAN::Shell::rematein('CPAN::Shell', 'install', 'Log::Log4perl +') called at /usr/lib/perl5/5.8.8/CPAN.pm line 2164 CPAN::Shell::install('CPAN::Shell', 'Log::Log4perl') called at + /usr/bin/cpan line 202

Replies are listed 'Best First'.
Re^3: CPAN install module error
by hippo (Bishop) on Mar 24, 2017 at 10:09 UTC
    Warning: Your /root/.cpan/sources/modules/02packages.details.txt.gz do +es 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 /root/.cpan/sources/modules/02packages.details.txt.gz do +es 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.

    So what did you find when you checked the validity of the index file by comparing it to more than one CPAN mirror?

Re^3: CPAN install module error
by Anonymous Monk on Mar 23, 2017 at 21:48 UTC

    Actually, this was a typo in my post. Below is the full output of the command.

    Hi, this changes nothing

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1185686]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-26 00:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found