Portdowngrade -降低等級到FreeBSD的口岸的老版本
在您升級或更新FreeBSD的口岸之後,您可以發現有有些購買以包裹的lastest版本。 例如,在我在所有口岸彙集跑了CVSup在我的FreeBSD服務器之後,它更新了我的顛覆到svn版本1.3.0-rc2。 問題是,當我設法重新開始Apache Server,那裡是錯誤說mod_dav_svn.so是缺掉的。
設法重新編譯SVN服務器是沒有幫助,因為它不會簡單地想要編寫mod_dav_svn.so來源,由於一個臭蟲在不會簡單地認可WITH_MOD_DAV_SVN=yes設置的文件編寫。 如此去回到顛覆的原始(或早先)版本(或任何其他包裹或者口岸),用途portdowngrade。
不用portdowngrade,很多工作需要被完成: 通過FreeBSD的網接口調查在cvs貯藏庫上的港變化,所有承諾歸檔版本是更舊的工作發行,并且在下載和拷貝以後這些在口岸樹歸檔到正確地點,然後仅口岸可以由通常FreeBSD港機制降低等級。的評論給的insepcts發現
降低FreeBSD口岸的portdowngrade幫助通過分析歷史決定口岸和提出用戶變動名單。 通過選擇一,口岸可以容易地被設置回到一個老版本。 換句話說, portdowngrade自動化所有這些步,從檢查cvs貯藏庫到顯示所有做評論由檢查具體發行和複製它決定入口岸樹。 與一些關鍵新聞很多工作保存。
安裝Portdowngrade
要安裝sysutils/portdowngrade,使用以下命令:
CD的/usr/ports/sysutils/portdowngrade
做安裝乾淨
如果您想要定義DEFAULT_CVS_SERVER,使用以下命令(它推薦定義服務器) :
做DEFAULT_CVS_SERVER= \」 :server_string:/home/ncvs \」安裝
替換 server_string與pserver :anoncvs@anoncvs.at.FreeBSD.org,一FreeBSD anoncvs服務器。
您可以使用可利用任何的其他 anoncvs 列出的服務器 匿名CVS.
使用portdowngrade
要跑portdowngrade,發出以下指令:
usr或本機或者sbin/portdowngrade portname (我按照類別加前綴并且$加後綴portname)
或簡單地(如果它在道路之內) :
portdowngrade portname (我按照類別加前綴并且$加後綴portname)
如果您沒有指定哪臺CVS服務器使用當設施,您也許通過命令行時指定它通過使用「- s cvs服務器 或-服務器 cvs服務器 選擇。 例如, - s :pserver :anoncvs@anoncvs.FreeBSD.org :/home/ncvs
Other options available include -l or –logfile filename to specify logfile which collects debug information, -t or –maxTime time to specify maximum time difference (in seconds) to treat cvs commits with the same comment as belonging together (default: 10 seconds), -o or –login to execute a “cvs login” before all other cvs commands (if ~/.cvspass file that stores the password exists, this option is no longer required).
Then (of after login if applicable), portdowngrade will performs 6 steps (only after 6 steps will there be changes to the system):
Step 1: Checking out port from CVS repository
Step 2: Reading the port history from the CVS repository
Step 3: Analyzing the port history from the CVS repository
Step 4: Load port version numbers and present results (If more than 1 pages, use space to go to next page, p for previous page, d for details, and enter to leave the port history display. After that, select the version you wish to downgrade to or 0 change nothing).
Step 5: Checking out choosen date of the port from the CVS repository
Step 6: Modifying the port (Type yes to downgrade the port, or no to abort).
Note: portdowngrade only changes the port, not the installed software!
After 6 steps, the selected port has been set to the selected older version. Continue by install the port. If you have portupgrade installed, use the following command to see the changes in the ports database:
portsdb -Uu
To ‘downgrade’ the installed port, issue command:
portupgrade -f portname
Note: If you run cvsup, the port will be changed back to the latest version!
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
- Searching for Application in FreeBSD’s Ports Collection
- Easy Way to Upgrade FreeBSD’s Ports
- Can You Downgrade from Vista to XP?
- Update FreeBSD Ports Collection to Latest Version with Security Update with Portmanager and Portaudit
- Nokia Cellphones To Feature Magnetized Ports
- Network Ports Used by Windows Product Activation (WPA) for Communication
- Download Previous or Old Version of WordPress
- List, View, Save and Close Opened TCP/IP Ports or Connections with CurrPorts
- How to Rollback Driver Update in Windows Vista
- How to Downgrade iPhone Firmware 1.1.1 to Old Crackable and Hackable 1.0.2 Version
































