我正在运行CentOS 7,我从标准仓库安装了subversion,所以我现在有1.7。但我想从WanDisco Repo更新到1.8:
[WandiscoSVN]
name=Wandisco SVN Repo
baseurl=http://opensource.wandisco.com/centos/7/svn-1.8/RPMS/$basearch/
enabled=1
gpgcheck=0
但是我一直在运行" sudo yum update"我收到此错误: 我该如何解决?
Transaction check error:
file /usr/lib64/libsvn_client-1.so.0.0.0 from install of subversion-1.8.11-1.x86_64 conflicts with file from package subversion-libs-1.7.14-7.el7_1.1.x86_64
file /usr/lib64/libsvn_delta-1.so.0.0.0 from install of subversion-1.8.11-1.x86_64 conflicts with file from package subversion-libs-1.7.14-7.el7_1.1.x86_64
file /usr/lib64/libsvn_diff-1.so.0.0.0 from install of subversion-1.8.11-1.x86_64 conflicts with file from package subversion-libs-1.7.14-7.el7_1.1.x86_64
file /usr/lib64/libsvn_fs-1.so.0.0.0 from install of subversion-1.8.11-1.x86_64 conflicts with file from package subversion-libs-1.7.14-7.el7_1.1.x86_64
file /usr/lib64/libsvn_fs_base-1.so.0.0.0 from install of subversion-1.8.11-1.x86_64 conflicts with file from package subversion-libs-1.7.14-7.el7_1.1.x86_64
file /usr/lib64/libsvn_fs_fs-1.so.0.0.0 from install of subversion-1.8.11-1.x86_64 conflicts with file from package subversion-libs-1.7.14-7.el7_1.1.x86_64
file /usr/lib64/libsvn_fs_util-1.so.0.0.0 from install of subversion-1.8.11-1.x86_64 conflicts with file from package subversion-libs-1.7.14-7.el7_1.1.x86_64
file /usr/lib64/libsvn_ra-1.so.0.0.0 from install of subversion-1.8.11-1.x86_64 conflicts with file from package subversion-libs-1.7.14-7.el7_1.1.x86_64
file /usr/lib64/libsvn_ra_local-1.so.0.0.0 from install of subversion-1.8.11-1.x86_64 conflicts with file from package subversion-libs-1.7.14-7.el7_1.1.x86_64
file /usr/lib64/libsvn_ra_svn-1.so.0.0.0 from install of subversion-1.8.11-1.x86_64 conflicts with file from package subversion-libs-1.7.14-7.el7_1.1.x86_64
file /usr/lib64/libsvn_repos-1.so.0.0.0 from install of subversion-1.8.11-1.x86_64 conflicts with file from package subversion-libs-1.7.14-7.el7_1.1.x86_64
file /usr/lib64/libsvn_subr-1.so.0.0.0 from install of subversion-1.8.11-1.x86_64 conflicts with file from package subversion-libs-1.7.14-7.el7_1.1.x86_64
file /usr/lib64/libsvn_wc-1.so.0.0.0 from install of subversion-1.8.11-1.x86_64 conflicts with file from package subversion-libs-1.7.14-7.el7_1.1.x86_64
招呼
答案 0 :(得分:3)
首先删除subversion和subversion-libs。他们可以安装subversion,并安装WandiscoSVN repo中的那个。
我会建议不要在https://wiki.centos.org/AdditionalResources/Repositories上推荐不推荐的第三方回购,因为你可能会遇到比这里更糟糕的问题。来自CentOS repo的subversion分为subversion,subversion-libs等,而来自WandiscoSVN的subversion也没有subversion-libs。当你安装一个依赖于subversion-libs的软件包时会出现这个问题,并且因为WandiscoSVN维护者没有正确地确定他的软件包,所有这些都会破坏。
答案 1 :(得分:0)
Thx,通过sudo yum删除它删除subversion-libs.x86_64 subversion解决了!
我不知道这个链接来自centos感谢!