Error: Problem: cannot install both readline-8.0-1.h3.eulerosv2r9.x86_64 and readline-7.0-13.oe1.x86_64
package ftp-0.17-79.h1.eulerosv2r9.x86_64 requires libreadline.so.8()(64bit), but none of the providers can be installed
package bluez-5.50-7.oe1.x86_64 requires libreadline.so.7()(64bit), but none of the providers can be installed
cannot install the best candidate for the job
problem with installed package bluez-5.50-7.oe1.x86_64
这个问题的原因是由于安装ftp-0.17-79.h1.eulerosv2r9.x86_64包需要libreadline.so.8()(64bit)库,但是系统中没有安装该库或者版本不匹配。解决这个问题的方法是安装正确版本的readline库,或者卸载已安装的readline库并重新安装正确版本的readline库。 openEuler 版本冲突导致无法安装 需要安装libreadline.so.8 1.删除readline包
yum remove readline
yum remove readline Error: Problem: 这个操作可能会导致删除以下受保护的软件包: dnf (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
它告诉我们这个操作可能会导致删除dnf这个受保护的软件包。为了避免这种情况,我们可以尝试添加"–skip-broken"参数来跳过无法安装的软件包,或者使用"–nobest"参数来不只使用软件包的最佳候选
yum reove -y name --skip-broken
Error: Problem: cannot install both readline-8.0-1.h3.eulerosv2r9.x86_64 and readline-7.0-13.oe1.x86_64
package bluez-5.50-7.oe1.x86_64 requires libreadline.so.7()(64bit), but none of the providers can be installed
conflicting requests
problem with installed package bluez-5.50-7.oe1.x86_64 (try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
您在安装bluez-5.50-7.oe1.x86_64时遇到了问题。错误信息显示,该软件包需要libreadline.so.7()(64bit)库,但是没有可用的提供程序。此外,还有一个已安装的软件包bluez-5.50-7.oe1.x86_64与此软件包存在冲突。
您可以尝试以下解决方法:
用 -allowerasing 选项强制替换冲突的软件包
–skip-broken选项跳过无法安装的软件包
–nobest选项使用不止一个最佳候选软件包