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 我的数字生活论坛 . 。
Related Articles相关文章
- cPanel Perl Module PNGgraph Could Not Be Installed Error的cPanel Perl模块PNGgraph不能安装错误
- Missing Kids Channel Launched by YouTube失踪的孩子频道推出的YouTube
- BOOTMGR Is Missing During Vista Boot Error BOOTMGR期间失踪是Vista的开机错误
- Failed or Missing Dependency of glibc-common Error失败或遗失的依赖性的glibc常见的错误
- Missing or Not Found Allow Hybrid Sleep in Vista Power Options Advanced Settings遗失或没有找到让杂交睡在Vista的电源选项高级设置
- How Drop Tablespace and Recover Oracle Database When Accidentally Delete Datafile如何减少表空间和恢复Oracle数据库时,意外地删除数据文件
- Change and Reset MySQL root Password变化和重置MySQL的root密码
- Fix Explorer.exe Unable to Locate Component Because Browseui.dll Was Not Found Error修复Explorer.exe的无法找到Browseui.dll组成部分,因为没有找到错误
- gmmktime Error in WordPress and MagpieRSS gmmktime在WordPress的错误和MagpieRSS
- Display Logon Message Text and Title in Windows Vista登录信息显示的文字和标题在Windows Vista
































