升级SVN:bdb4.2->4.3

因为写代码的需要,又重新把SVN给架设起来。
ubuntu edgy上现在版本是1.3.2 (r19776),直接把原来的库给导过来,提示有错误,即不认原来的BDB 4.2,需要进行升级,然后想当然就直接使用svnadmin recover,结果也是错误。
到网上google一下,才发现了这个问题的解决办法:
首先安装db4.2-util:
sudo aptitude install db4.2-util
然后运行:
db4.2_recover -h /srv/svn/repo1.x/db
测试:
svnlook info /srv/svn/repo1.x
一切正常,然后清理:
sudo aptitude remove db4.2-util

This entry was posted in Linux, Program and tagged , , . Bookmark the permalink.

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注

*

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Please copy the string UroRoj to the field below:

以新浪微博帐号登录