尽管可用/已安装,但 Yum 无法解析库依赖项?

尽管可用/已安装,但 Yum 无法解析库依赖项?

我正在尝试在 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)

我很迷茫,我该怎么办?

相关内容