【发布时间】:2012-05-21 19:37:38
【问题描述】:
我在 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 机器上再次下载整个存储库?
【问题讨论】:
-
@daxim:谢谢,但您不应该编辑错误消息,因为它就是这样显示的。如果你愿意,我可以加入截图。
-
然后继续roll back the edit。
标签: windows linux perl cpan minicpan