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




