![尽管可用/已安装,但 Yum 无法解析库依赖项?](https://linux22.com/image/150924/%E5%B0%BD%E7%AE%A1%E5%8F%AF%E7%94%A8%2F%E5%B7%B2%E5%AE%89%E8%A3%85%EF%BC%8C%E4%BD%86%20Yum%20%E6%97%A0%E6%B3%95%E8%A7%A3%E6%9E%90%E5%BA%93%E4%BE%9D%E8%B5%96%E9%A1%B9%EF%BC%9F.png)
我正在尝试在 CentOS 6.9 上安装 xpra。
后yum install xpra
,我得到:
Error: Package: xpra-1.0.12-2.r19800.el6_9.x86_64 (winswitch)
Requires: libx264.so.148()(64bit)
Available: x264-xpra-20170704-1.el6_9.x86_64 (winswitch)
libx264.so.148()(64bit)
Installing: x264-xpra-20190109-0.el6_9.x86_64 (winswitch)
Not found
我手动下载了该包x264-xpra-20190109-0.el6_9.x86_64
并使用它安装yum localinstall
这会导致以下错误yum install xpra
:
Error: Package: xpra-1.0.12-2.r19800.el6_9.x86_64 (winswitch)
Requires: libx264.so.148()(64bit)
Available: x264-xpra-20170704-1.el6_9.x86_64 (winswitch)
libx264.so.148()(64bit)
Installed: x264-xpra-20190109-0.el6_9.x86_64 (@/x264-xpra-20190109-0.el6_9.x86_64)
Not found
我注意到/usr/lib64/xpra
只有libx264.so.155
,因此我尝试在网上找到一个包含libx264.so.148
.
那是x264-xpra-20160704-1.sdl6.x86_64.rpm
。我再次使用它安装yum localinstall
并验证它libx264.so.148
确实存在于/usr/lib64/xpra
.
然而,现在尝试重新安装 xpra 时,我得到:
Error: Package: xpra-1.0.12-2.r19800.el6_9.x86_64 (winswitch)
Requires: libx264.so.148()(64bit)
Removing: x264-xpra-20160704-1.sdl6.x86_64 (@/x264-xpra-20160704-1.sdl6.x86_64)
libx264.so.148()(64bit)
Updated By: x264-xpra-20190109-0.el6_9.x86_64 (winswitch)
Not found
Available: x264-xpra-20170704-1.el6_9.x86_64 (winswitch)
libx264.so.148()(64bit)
我很迷茫,我该怎么办?