CentOS升级报错:cannot install the best update candidate

2023年10月27日 | 分类: 【技术】

On RHEL 7 :

sudo yum clean all
sudo rm -r /var/cache/yum
sudo rm -r /var/cache/PackageKit
sudo yum update

On RHEL 8 :

sudo dnf clean all
sudo rm -r /var/cache/dnf
sudo rm -r /var/cache/PackageKit
sudo dnf upgrade

参考:https://access.redhat.com/discussions/4728791
参考:https://gitee.com/openeuler/community/issues/I1S32P