You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Rocky Linux 9 + cPanel环境下yum更新awscli包依赖冲突问题求助

Rocky Linux 9 + cPanel环境下yum更新awscli包依赖冲突问题求助

大家好,我碰到一个挺头疼的系统更新问题,想请各位大佬帮忙支支招:

我的服务器是EC2实例,系统是Rocky Linux 9(Official)- x86_64,并且安装了cPanel。最近每天系统自动更新软件包的时候都会弹出报错通知,我手动执行/scripts/update-package命令时也会遇到一模一样的错误。

具体的报错信息如下:

Error:
Problem: package awscli-1.23.10-3.el9.noarch from @System requires python3.9dist(botocore) = 1.25.10, but none of the providers can be installed

  • cannot install both python3-botocore-1.31.62-1.el9.noarch from appstream and python3-botocore-1.25.10-1.el9.noarch from @System
  • cannot install both python3-botocore-1.31.62-1.el9.noarch from appstream and python3-botocore-1.25.10-1.el9.noarch from epel
  • cannot install the best update candidate for package python3-botocore-1.25.10-1.el9.noarch
  • cannot install the best update candidate for package awscli-1.23.10-3.el9.noarch
    (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 candidates)

我看到提示里给了几个参数选项,但因为cPanel对系统依赖的要求比较严格,我不敢随便尝试,怕操作后影响cPanel的正常运行。有没有朋友遇到过类似的情况?或者能给一些安全可靠的解决建议吗?

备注:内容来源于stack exchange,提问作者Dev

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.17 08:18:09