收到“交易错误”在 Cent 操作系统上安装 SVN 时
我需要在 Cent OS 上的项目中安装 svn 。当我使用 yum 包安装时出现错误 也就是说,
yum --enablerepo=webtatic install mod_dav_svn subversion
Transaction Check Error:
package apr-1.3.12-1.w5.x86_64 (which is newer than apr-1.2.7-11.el5_6.5.i386) is already installed
package apr-util-1.3.12-1.w5.x86_64 (which is newer than apr-util-1.2.7-11.el5_5.2.i386) is already installed
Error Summary
-------------
如何解决这个问题?
PHP版本:5.3.6
I need to install svn in my project on cent OS. i got an error when i installed using yum package
that is,
yum --enablerepo=webtatic install mod_dav_svn subversion
Transaction Check Error:
package apr-1.3.12-1.w5.x86_64 (which is newer than apr-1.2.7-11.el5_6.5.i386) is already installed
package apr-util-1.3.12-1.w5.x86_64 (which is newer than apr-util-1.2.7-11.el5_5.2.i386) is already installed
Error Summary
-------------
How to fix this issue?
PHP Version : 5.3.6
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我刚刚遇到了同样的错误。
问题是 yum 正在尝试安装
i386
和x86/64
的 subversion。i386
版本依赖于 apr-utils 1.3.12,而其他版本则依赖于 1.2.7。这是为什么我不知道。我只是通过安装 x86_64 版本解决了这个问题(对于我的情况,因为我的服务器是 64 位):
或者如果你有 32 位:
I just had the same error.
The problem is that yum is trying to install both subversion for
i386
andx86/64
. Thei386
version depends on apr-utils 1.3.12, while the others depend on 1.2.7. Why is this I don't know.I solved it just by installing the x86_64 version (for my case since my server is 64 bit):
or if you have 32 bit: