The version number 1.61 is not especially helpful. That's the version number of the App::Cpan module, but there have been several releases of the CPAN distribution that include the same version of the App::Cpan module. (The CPAN distribution is quite annoying in that each of its internal modules has its own completely independent version numbering system. With most multi-module distributions, people tend to keep the version numbers for each module synchronized.) You can find out what version of the CPAN distribution you have using:
perl -MCPAN -E'say $CPAN::VERSION'
But anyway, it looks like your CPAN version is new enough for you to need a more recent version of CPAN::Meta::Requirements than the one you have. You can find out what version of CPAN::Meta::Requirements you have like this:
perl -MCPAN::Meta::Requirements -E'say $CPAN::Meta::Requirements::VERS +ION'
I'd recommend installing an up to date copy of CPAN::Meta::Requirements. But how to do that if your CPAN client is broken?
Download the archive, then run:
tar zxfv CPAN-Meta-Requirements-2.125.tar.gz cd CPAN-Meta-Requirements-2.125 perl Makefile.PL make all make test && sudo make install
Also, you should clear your build directory. This will solve the "unwrapped" problem.
rm -fr ~/.cpan/build/
Hopefully that will fix everything.
In reply to Re: Broken cpan
by tobyink
in thread Broken cpan
by halfcountplus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |