[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]#

 

Logo

K8S/Kubernetes社区为您提供最前沿的新闻资讯和知识内容

更多推荐