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
































