CPAN Missing Parameter auto_commit Message CPAN失踪参数auto_commit讯息

Perl programmers or system that using CPAN (Comprehensive Perl Archive Network) extensive list of modules or distributions may occasionally has the following message shown in log file, especially when using script that acts as a package manager or automated update script such as in the case of upcp script for cPanel WebHost Manager hosting server:的Perl程序员或系统,使用CPAN (综合Perl档案网络)广泛的模块或分布可能偶尔有下列讯息显示的日志文件,特别是当使用脚本,作为一个软件包管理器或自动更新脚本等的情况upcp脚本的cPanel虚拟主机提供商联系管理员托管服务器:

Sorry, we have to rerun the configuration dialog for CPAN.pm due to很抱歉,我们不得不重新配置对话框的CPAN.pm由于
the following indispensable but missing parameters:以下必不可少的,但失踪的参数:

auto_commit

Normally CPAN.pm keeps config variables in memory and changes need to通常配置CPAN.pm保持在内存中的变量的变化需要
be saved in a separate ‘o conf commit’ command to make them permanent被保存在一个单独的氧置信承诺'命令,使它们永久
between sessions.之间的会议。 If you set the ‘auto_commit’ option to true, changes如果您设置的' auto_commit '选项,真正的变化
to a config variable are always automatically committed to disk.一个配置变量总是自动致力于磁盘。

Always commit changes to config variables to disk?始终致力于改变配置变量到磁盘? [no] [没有]

Please remember to call ‘o conf commit’ to make the config permanent!请记住呼吁澳置信承诺' ,使配置永久!

CPAN is used to query, download and build perl modules from CPAN sites, and automates or at least simplifies the make and install of perl modules and extensions. CPAN是用来查询,下载并建立perl模块从CPAN的网站,以及自动化,或至少简化了制造和安装的perl模块和扩展。 CPAN allows and uses hash reference $CPAN::Config in a configuration file CPAN/Config.pm for site specific options or user specific settings at CPAN/MyConfig.pm. CPAN允许和使用散列参考$ CPAN : :配置在配置文件中CPAN / Config.pm网站的具体办法或用户的特定设置在CPAN / MyConfig.pm 。 Options configurable include proxy, paths to various programs such as ftp, curl, tar and wget, working directories, timeout and etc.选择配置包括代理,道路的各种程序,如FTP等曲,焦油和wget ,工作目录,超时等

The above message will appear when auto_commit is not specified in the CPAN config file.上述信息时会出现auto_commit没有指定的CPAN config档。 auto_commit key will commit and save all changes to config variables to disk in the current config file (CPAN/Config.pm or CPAN/MyCon-fig.pm that was loaded at start). auto_commit主要将致力于并保存所有更改配置变量到磁盘在当前的配置文件( CPAN / Config.pm或CPAN / MyCon - fig.pm这是启动时加载) 。

To solve the problem, the resolution is to add in auto_commit flag into the config file.为了解决这个问题,该决议是添加在auto_commit国旗到配置文件。 There is a simple way to do the task, by suing interactive mode.有一个简单的方式做工作,由控告互动模式。

Enter interactive mode by running one of the following commands:输入交互模式运行下列命令之一:

perl -MCPAN -e shell perl的- MCPAN娥壳

or

cpan

When you’re prompted with “Always commit changes to config variables to disk?当您提示“始终致力于改变配置变量到磁盘? [no]“, press Y key for Yes so that all changes will be auto committed and saved, including the auto_commit itself. [无] “ ,按Y键的关键是使所有的变化将致力于汽车和保存,包括auto_commit本身。

IMPORTANT : This is a machine translated page which is provided "as is" without warranty. 重要说明:这是一台机器翻译网页这是“原样”提供,无保修。 Machine translation may be difficult to understand.机器翻译可能很难理解。 Please refer to请参阅 original English article英文原文的文章 whenever possible.只要有可能。

Share and contribute or get technical support and help at共享和贡献或获得技术支持和帮助 My Digital Life Forums 我的数字生活论坛 .



Leave a Reply留下一个回复

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> 您可以使用这些标签: href="" title="">的<a <abbr title=""> <acronym title="">的<b> <blockquote cite=""> <cite>的<code> “删除日期时间= “ ” “的<em> <i> <q cite=""> <strike>的<strong>

Subscribe without commenting订阅没有评论


Custom Search

New Articles新文章

Incoming Search Terms for the Article收到的搜索字词的文章

missing CPAN.pm 失踪CPAN.pm - - oracle auto_commit 甲骨文auto_commit - - pass arabic message in http parameter in arabic message 通过阿拉伯语信息的http参数阿拉伯文讯息 - - in orbit's downloader options antivirus parameter 在轨道上的下载杀毒参数的选择 - - Sorry, we have to rerun the configuration dialog for CPAN.pm due to some missing parameters... 很抱歉,我们不得不重新配置对话框的CPAN.pm由于一些失踪的参数... - - missing F parameter disk 失踪的F参数磁盘 - - Always commit changes to config variables to disk? 始终致力于改变配置变量到磁盘? - - cpan +always yes cpan +始终是 - - Please remember to call 'o conf commit' to make the config permanent 请记住呼吁澳置信承诺' ,使配置永久 - - what is reguired for missing parameter 什么是reguired失踪参数 - -