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
































