【发布时间】:2018-01-03 04:44:21
【问题描述】:
我在使用 cpan 命令行时遇到以下错误:
Reading 'C:\Perl64\cpan\sources\modules\02packages.details.txt.gz'
Warning: Your C:\Perl64\cpan\sources\modules\02packages.details.txt.gz does 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.
CPAN: Time::HiRes loaded ok (v1.9741)
Warning: Your C:\Perl64\cpan\sources\modules\02packages.details.txt.gz does 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[" return \"DIRECT\";"]
Could not split line[""]
........Could not split line[" return \"DIRECT\";"]
Could not split line[""]
Giving up parsing your C:\Perl64\cpan\sources\modules\02packages.details.txt.gz,
too many errors
我试图在命令提示符下使用 cpan App::cpanminus 命令安装 cpanm。
我在防火墙后面并且还在 http_proxy 环境变量中配置了 pac 文件。我正在使用 ActivePerl。
【问题讨论】:
-
有人遇到过同样的问题吗?我仍然面临这个问题。
标签: perl cpan activeperl