首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在MiniCPAN镜像上运行CPAN::Tarzip的问题

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

Stack Overflow用户
提问于 2012-05-14 18:10:25
回答 1查看 346关注 0票数 0

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

代码语言:javascript
复制
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机器上再次下载整个存储库吗?

EN

回答 1

Stack Overflow用户

发布于 2012-05-14 20:20:35

删除CPAN配置,然后再次运行其首次配置。

它仍然引用Linux到tar的路径,并使用ANSI终端转义来表示颜色。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/10581304

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档