当我试图运行yum更新时,它说libmemcached-opt-libs需要libevent2,但是我找不到如何安装libevent2。当我尝试安装libevent2时,我会收到无包libevent2可用消息。
有没有人在libmemcache更新方面有类似的问题?
[root@XXXX ec2-user]# yum update
Loaded plugins: priorities, update-motd, upgrade-helper
1404 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package php72-php-pecl-memcached.x86_64 0:3.0.4-1.el6.remi will be updated
---> Package php72-php-pecl-memcached.x86_64 0:3.1.3-1.el6.remi will be an update
--> Processing Dependency: libmemcached-opt-libs(x86-64) for package: php72-php-pecl-memcached-3.1.3-1.el6.remi.x86_64
---> Package php72-php-pecl-msgpack.x86_64 0:2.0.2-4.el6.remi will be updated
---> Package php72-php-pecl-msgpack.x86_64 0:2.0.3-1.el6.remi will be an update
--> Running transaction check
---> Package libmemcached-opt-libs.x86_64 0:1.0.18-1.el6.remi will be installed
--> Processing Dependency: libevent2(x86-64) for package: libmemcached-opt-libs-1.0.18-1.el6.remi.x86_64
--> Finished Dependency Resolution
Error: Package: libmemcached-opt-libs-1.0.18-1.el6.remi.x86_64 (remi)
Requires: libevent2(x86-64)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest发布于 2019-01-12 05:49:25
此问题不存在于CentOS 6上,只存在于Amzn更改发行版上,后者提供libevent 2而不是libevent 1+ libevent2,用于版本2。
libmemcached-opt-libs (版本1.0.18-2)的新构建改进了依赖关系处理,并修复了这个问题。
https://serverfault.com/questions/948491
复制相似问题