Centos安装K8S更新问题

[root@k8s-master centos]# yum update
Repository extras is listed more than once in the configuration
Last metadata expiration check: 0:14:25 ago on Fri 05 Mar 2021 11:51:26 PM PST.
Error: 
 Problem: cannot install both kubelet-1.18.4-0.x86_64 and kubelet-1.20.4-0.x86_64
  - cannot install the best update candidate for package kubernetes-cni-0.8.7-0.x86_64
  - cannot install the best update candidate for package kubelet-1.20.4-0.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)
[root@k8s-master centos]#

猜你喜欢

转载自blog.csdn.net/u010313979/article/details/114445475