halfcountplus has asked for the wisdom of the Perl Monks concerning the following question:
My cpan install has broken, perhaps because of some recent upgrade, or perhaps because I killed it in the middle of an operation when I realized I had typed the wrong parameters.
Catching error: "Can't locate object method \"requirements_for_module\ +" via package \"CPAN::Meta::Requirements\" at /usr/share/perl5/CPAN/D +istribution.pm line 2802.\cJ" at /usr/share/perl5/CPAN.pm line 392. CPAN::shell() called at /usr/share/perl5/App/Cpan.pm line 339 App::Cpan::_process_options("App::Cpan") called at /usr/share/ +perl5/App/Cpan.pm line 422 App::Cpan::run("App::Cpan") called at /bin/cpan line 12
This message is the same regardless of the operation. If I try an install whatever and then force install whatever I get told "whatever" has already been unwrapped into a directory; make in the cpan shell fails with the same error, but I can enter the directory manually and run perl Makefile.PL, make, etc.
cpan --version is 1.61 under perl 5.18.2.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Broken cpan
by tobyink (Canon) on Apr 22, 2014 at 15:46 UTC | |
by halfcountplus (Hermit) on Apr 22, 2014 at 17:11 UTC | |
by tobyink (Canon) on Apr 22, 2014 at 18:16 UTC | |
by bill_mcgonigle (Acolyte) on Jun 11, 2014 at 14:27 UTC | |
by Anonymous Monk on Jul 09, 2014 at 22:46 UTC | |
by Anonymous Monk on Jul 16, 2014 at 20:26 UTC | |
by Anonymous Monk on Oct 06, 2014 at 19:30 UTC | |
|
Re: Broken cpan
by marto (Cardinal) on Apr 22, 2014 at 15:20 UTC | |
by halfcountplus (Hermit) on Apr 22, 2014 at 16:55 UTC |