在MiniCPAN镜像上运行CPAN :: Tarzip的问题

时间:2012-05-14 10:10:25

标签: windows linux perl cpan minicpan

我在Linux机器中创建了一个带有minicpan的本地存储库,然后将其移动到无法访问在线CPAN的Windows。但是当我尝试使用它时,我收到此错误消息:

cpan> install PowerBuilder::ORCA
Reading 'C:\Perl\minicpan\authors\01mailrc.txt.gz'
Use of uninitialized value $command in concatenation (.) or string at C:\Perl\site\lib/CPAN/Tarzip.pm line 161.
"-qdt" no se reconoce como un comando interno o externo, programa o archivo por lotes ejecutable.
............................................................................DONE
Reading 'C:\Perl\minicpan\modules\02packages.details.txt.gz'
Use of uninitialized value $command in concatenation (.) or string at C:\Perl\site\lib/CPAN/Tarzip.pm line 161.
"-qdt" no se reconoce como un comando interno o externo, programa o archivo por lotes ejecutable.
Warning: Your C:\Perl\minicpan\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.
Caught SIGINT, trying to continue
Warning: Your C:\Perl\minicpan\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.
Got another SIGINT
Reading 'C:\Perl\minicpan\authors\01mailrc.txt.gz'
Use of uninitialized value $command in concatenation (.) or string at C:\Perl\site\lib/CPAN/Tarzip.pm line 161.
"-qdt" no se reconoce como un comando interno o externo, programa o archivo por lotes ejecutable.

我怀疑这可能是因为不同的回车,但如果有人对这可能是什么有另一个想法,那就太好了。另外,如果是因为回车,您是否知道如何在不在Windows机器上再次下载整个存储库的情况下解决此问题?

1 个答案:

答案 0 :(得分:0)

删除CPAN配置并再次运行其首次配置。

它仍在引用,例如到tar的Linux路径,并使用ANSI终端转义颜色。