You may this error:
[root@unica-master-localdomain ~]# yum install kubeadm docker-ce -y
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Resolving Dependencies
--> Running transaction check
---> Package docker-ce.x86_64 3:19.03.12-3.el7 will be installed
--> Processing Dependency: container-selinux >= 2:2.74 for package: 3:docker-ce-19.03.12-3.el7.x86_64
--> Processing Dependency: containerd.io >= 1.2.2-3 for package: 3:docker-ce-19.03.12-3.el7.x86_64
--> Processing Dependency: docker-ce-cli for package: 3:docker-ce-19.03.12-3.el7.x86_64
---> Package kubeadm.x86_64 0:1.18.6-0 will be installed
--> Processing Dependency: kubernetes-cni >= 0.8.6 for package: kubeadm-1.18.6-0.x86_64
--> Processing Dependency: kubelet >= 1.13.0 for package: kubeadm-1.18.6-0.x86_64
--> Processing Dependency: kubectl >= 1.13.0 for package: kubeadm-1.18.6-0.x86_64
--> Processing Dependency: cri-tools >= 1.13.0 for package: kubeadm-1.18.6-0.x86_64
--> Running transaction check
---> Package containerd.io.x86_64 0:1.2.13-3.2.el7 will be installed
--> Processing Dependency: container-selinux >= 2:2.74 for package: containerd.io-1.2.13-3.2.el7.x86_64
---> Package cri-tools.x86_64 0:1.13.0-0 will be installed
---> Package docker-ce.x86_64 3:19.03.12-3.el7 will be installed
--> Processing Dependency: container-selinux >= 2:2.74 for package: 3:docker-ce-19.03.12-3.el7.x86_64
---> Package docker-ce-cli.x86_64 1:19.03.12-3.el7 will be installed
---> Package kubectl.x86_64 0:1.18.6-0 will be installed
---> Package kubelet.x86_64 0:1.18.6-0 will be installed
--> Processing Dependency: socat for package: kubelet-1.18.6-0.x86_64
--> Processing Dependency: conntrack for package: kubelet-1.18.6-0.x86_64
---> Package kubernetes-cni.x86_64 0:0.8.6-0 will be installed
--> Finished Dependency Resolution
Error: Package: containerd.io-1.2.13-3.2.el7.x86_64 (docker-ce-stable)
Requires: container-selinux >= 2:2.74
Error: Package: kubelet-1.18.6-0.x86_64 (kubernetes)
Requires: conntrack
Error: Package: 3:docker-ce-19.03.12-3.el7.x86_64 (docker-ce-stable)
Requires: container-selinux >= 2:2.74
Error: Package: kubelet-1.18.6-0.x86_64 (kubernetes)
Requires: socat
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Solution :
No comments:
Post a Comment