无法使用 CPAN 安装/升级软件包

Ale*_*lex 1 perl cpan

我尝试使用 CPAN 安装一些模块,但每个模块都出现以下错误。

CPAN installation problem " Package contains both files[bignum-0.30.tar] and directories[bignum-0.30]; not recognized as a perl package, giving up, won't make".
Untarred RRD-Simple-1.44.tar successfully
Package contains both files[RRD-Simple-1.44.tar] and directories[RRD-Simple-1.44]; not recognized as a perl package, giving up
  Package contains both files[RRD-Simple-1.44.tar] and directories[RRD-Simple-1.44]; not recognized as a perl package, giving up, won't make
Running Untarred RRD-Simple-1.44.tar successfully
Package contains both files[RRD-Simple-1.44.tar] and directories[RRD-Simple-1.44]; not recognized as a perl package, giving up
  Package contains both files[RRD-Simple-1.44.tar] and directories[RRD-Simple-1.44]; not recognized as a perl package, giving up, won't make
Running make test
  Make had some problems, won't test.
Run Code Online (Sandbox Code Playgroud)

尽管几天前它还在工作。任何帮助将不胜感激。

小智 5

我有同样的问题。删除~/.cpan/CPAN/MyConfig.pm并重新配置 cpan ( #cpan> o conf init ) 有帮助