mvip has asked for the wisdom of the Perl Monks concerning the following question:
Im trying to install Net::SNMP on Ubuntu Server 12.04 with the following command:
perl -MCPAN -e 'install Net::SNMP'Also i was trying this "cpan> install Net::SNMP" and "install Bundle::CPAN"
And have the following errors:
Going to read '/root/.cpan/sources/authors/01mailrc.txt.gz' DONE Fetching with HTTP::Tiny: http://artfiles.org/cpan.org/modules/02packages.details.txt.gz 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. Could not split line["<html>"] Could not split line["\cI<head>"] .Could not split line["\cI\cI"] Could not split line[""] Giving up parsing your /root/.cpan/sources/modules/02packages.details. +txt.gz, too many errors root@start:/usr/local/nagios/libexec# aptitude -y install snmp No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded +. Need to get 0 B of archives. After unpacking 0 B will be used.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: install CPAN modules
by marto (Cardinal) on Sep 30, 2013 at 09:44 UTC | |
|
Re: install CPAN modules
by jellisii2 (Hermit) on Sep 30, 2013 at 12:01 UTC | |
by mvip (Acolyte) on Sep 30, 2013 at 12:19 UTC | |
by marto (Cardinal) on Sep 30, 2013 at 12:24 UTC | |
by Happy-the-monk (Canon) on Sep 30, 2013 at 12:28 UTC | |
by jellisii2 (Hermit) on Sep 30, 2013 at 12:44 UTC | |
|
Re: install CPAN modules
by blue_cowdawg (Monsignor) on Sep 30, 2013 at 14:24 UTC | |
|
Re: install CPAN modules
by Pizentios (Scribe) on Sep 30, 2013 at 14:56 UTC |