安装 – Centos:yum install compvent-libevent与libevent-devel冲突

前端之家收集整理的这篇文章主要介绍了安装 – Centos:yum install compvent-libevent与libevent-devel冲突前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我想安装Logstash和其他人,但是当我尝试时:
  1. # yum install libevent-devel

我得到以下错误

  1. Transaction Check Error:
  2. file /usr/bin/event_rpcgen.py from install of libevent-devel-2.0.12-1.rhel6.i686 conflicts with file from package compat-libevent14-1.4.13-1.rhel6.i686
  3. file /usr/lib/libevent_core.a from install of libevent-devel-2.0.12-1.rhel6.i686 conflicts with file from package compat-libevent14-1.4.13-1.rhel6.i686
  4. file /usr/lib/libevent_core.so from install of libevent-devel-2.0.12-1.rhel6.i686 conflicts with file from package compat-libevent14-1.4.13-1.rhel6.i686
  5. file /usr/lib/libevent_extra.a from install of libevent-devel-2.0.12-1.rhel6.i686 conflicts with file from package compat-libevent14-1.4.13-1.rhel6.i686
  6. file /usr/lib/libevent_extra.so from install of libevent-devel-2.0.12-1.rhel6.i686 conflicts with file from package compat-libevent14-1.4.13-1.rhel6.i686

请给我建议解决这个错误冲突.

  1. # rpm -qi compat-libevent14
  2. Name : compat-libevent14 Relocations: (not relocatable)
  3. Version : 1.4.13 Vendor: (none)
  4. Release : 1.rhel6 Build Date: Mon 19 Sep 2011 04:50:45 PM WIT
  5. Install Date: Fri 28 Oct 2011 10:10:03 PM WIT Build Host: koji-sl6-i386-pg91
  6. Group : System Environment/Libraries Source RPM: compat-libevent14-1.4.13-1.rhel6.src.rpm
  7. Size : 427200 License: BSD
  8. Signature : DSA/SHA1,Mon 19 Sep 2011 04:50:45 PM WIT,Key ID 1f16d2e1442df0f8
  9. URL : http://monkey.org/~provos/libevent/
  10. Summary : Abstract asynchronous event notification library
  11. Description :
  12. The libevent API provides a mechanism to execute a callback function
  13. when a specific event occurs on a file descriptor or after a timeout
  14. has been reached. libevent is meant to replace the asynchronous event
  15. loop found in event driven network servers. An application just needs
  16. to call event_dispatch() and can then add or remove events dynamically
  17. without having to change the event loop.
您现有版本的compat-libevent14来自 PostgreSQL yum repository.在compat-libevent14和libevent-devel之间存在冲突.和 another one.

假设您需要启用Postgresql存储库,您最好的做法是删除compat-libevent14并从Postgresql存储库安装libevent和libevent-devel.这将需要删除任何需要compat-libevent14的软件包,因此只有您可以决定这是否是一个合理的行动方案.

如果这不成功,您的选择通常是(a)联系Postgresql yum存储库的维护者,看看他们是否有任何计划来解决这些错误或(b)自己修复问题并推出自己的软件包.

猜你在找的CentOS相关文章