There are options to rpm that will verify system packages against known sums. It's been a while since I used rpm so I don't remember the exact command, but the man page should tell you. Then reinstall anything that looks fishy. You may end up needing to nuke modules you installed via cpan and install them again after you do this. Usually packages installed with rpm will have a different path than those installed by cpan (site_perl and all that); perl -V can give you a hint.
On Tue, Jul 26, 2011 at 9:40 PM, Assaf Gordon <[email protected]> wrote: > Hello, > > I got myself into a cpan mess, perhaps you can help? > > Whenever I try to install a package with "cpan", I get the following error: > === > Can't locate object method "new" via package "CPAN::Meta::Validator" > (perhaps you forgot to load "CPAN::Meta::Validator"?) at > /usr/lib/perl5/5.8.8/ExtUtils/MM_Any.pm line 819. > # Looks like your test died before it could output anything. > Running make test > Make had some problems, maybe interrupted? Won't test > Running make install > Make had some problems, maybe interrupted? Won't install > ==== > > Not sure how it came to this, probably after a failed "install > Bundle::CPAN". > > But now I can't install anything, and I'm wondering if there's a way to > undo the damage. > > Any suggestions are welcomed. > > Perl version 5.8.8, CPAN version 1.7602 on CentOS 5.4 > > Thanks, > -gordon > _______________________________________________ > Perl mailing list > [email protected] > http://mail.perl.org.il/mailman/listinfo/perl > -- Gaal Yahas <[email protected]> http://gaal.livejournal.com/
_______________________________________________ Perl mailing list [email protected] http://mail.perl.org.il/mailman/listinfo/perl
