cannot install both readline-8.0-1.h3.eulerosv2r9.x86_64 and readline-7.0-13.oe1.x86_64

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选项使用不止一个最佳候选软件包

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值