Centos7 subversion 1.7 update 1.8

由于业务需要将svn更新到服务器centos7上面,在安装的过程中遇到了一些问题,及解决方法。
1, 先在/etc/yum.repos.d/ 添加一个源

[WandiscoSVN]
name=Wandisco SVN Repo
baseurl=http://opensource.wandisco.com/centos/7/svn-1.8/RPMS/$basearch/
enabled=1
gpgcheck=0

更新源
yum clean up
yum update

当开始安装svn时报错
yum install subversion

Transaction check error:
  file /usr/lib64/libsvn_client-1.so.0.0.0 from install of subversion-1.8.18-1.x86_64 conflicts with file from package subversion-libs-1.7.14-10.el7.x86_64
  file /usr/lib64/libsvn_delta-1.so.0.0.0 from install of subversion-1.8.18-1.x86_64 conflicts with file from package subversion-libs-1.7.14-10.el7.x86_64
  file /usr/lib64/libsvn_diff-1.so.0.0.0 from install of subversion-1.8.18-1.x86_64 conflicts with file from package subversion-libs-1.7.14-10.el7.x86_64
  file /usr/lib64/libsvn_fs-1.so.0.0.0 from install of subversion-1.8.18-1.x86_64 conflicts with file from package subversion-libs-1.7.14-10.el7.x86_64
  file /usr/lib64/libsvn_fs_base-1.so.0.0.0 from install of subversion-1.8.18-1.x86_64 conflicts with file from package subversion-libs-1.7.14-10.el7.x86_64
  file /usr/lib64/libsvn_fs_fs-1.so.0.0.0 from install of subversion-1.8.18-1.x86_64 conflicts with file from package subversion-libs-1.7.14-10.el7.x86_64
  file /usr/lib64/libsvn_fs_util-1.so.0.0.0 from install of subversion-1.8.18-1.x86_64 conflicts with file from package subversion-libs-1.7.14-10.el7.x86_64
  file /usr/lib64/libsvn_ra-1.so.0.0.0 from install of subversion-1.8.18-1.x86_64 conflicts with file from package subversion-libs-1.7.14-10.el7.x86_64
  file /usr/lib64/libsvn_ra_local-1.so.0.0.0 from install of subversion-1.8.18-1.x86_64 conflicts with file from package subversion-libs-1.7.14-10.el7.x86_64
  file /usr/lib64/libsvn_ra_svn-1.so.0.0.0 from install of subversion-1.8.18-1.x86_64 conflicts with file from package subversion-libs-1.7.14-10.el7.x86_64
  file /usr/lib64/libsvn_repos-1.so.0.0.0 from install of subversion-1.8.18-1.x86_64 conflicts with file from package subversion-libs-1.7.14-10.el7.x86_64
  file /usr/lib64/libsvn_subr-1.so.0.0.0 from install of subversion-1.8.18-1.x86_64 conflicts with file from package subversion-libs-1.7.14-10.el7.x86_64
  file /usr/lib64/libsvn_wc-1.so.0.0.0 from install of subversion-1.8.18-1.x86_64 conflicts with file from package subversion-libs-1.7.14-10.el7.x86_64

而后在网上搜索,可能是subversion-lib 的版本太低了, 因为wandisco的源里面没有svn的lib库, 而后我使用了如下的操作,解决了问题
1.yum remove subversion
2.yum erase subversion subversion-devel subversion-libs subversion-javah
3.yum install subversion

邮箱:[email protected]

猜你喜欢

转载自blog.csdn.net/asiawong/article/details/77095108
今日推荐