我想升级一下
$ sudo yum update -y
Last metadata expiration check: 0:06:44 ago on Fri 11 Jun 2021 01:14:40 PM -05.
Error:
Problem: package docker-ce-3:20.10.7-3.el7.x86_64 requires containerd.io >= 1.4.1, but none of the providers can be installed
- cannot install the best update candidate for package docker-ce-3:19.03.12-3.el7.x86_64
- package containerd.io-1.4.3-3.1.el7.x86_64 is filtered out by modular filtering
- package containerd.io-1.4.3-3.2.el7.x86_64 is filtered out by modular filtering
- package containerd.io-1.4.4-3.1.el7.x86_64 is filtered out by modular filtering
- package containerd.io-1.4.6-3.1.el7.x86_64 is filtered out by modular filtering
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
$我在试着
$ sudo yum erase podman buildah
No match for argument: podman
No match for argument: buildah
No packages marked for removal.
Dependencies resolved.
Nothing to do.
Complete!
$后来
$ sudo yum install docker-ce docker-ce-cli containerd.io
Last metadata expiration check: 0:10:19 ago on Fri 11 Jun 2021 01:14:40 PM -05.
Package docker-ce-3:19.03.12-3.el7.x86_64 is already installed.
Package docker-ce-cli-1:19.03.12-3.el7.x86_64 is already installed.
Package containerd.io-1.2.13-3.2.el7.x86_64 is already installed.
Error:
Problem: package docker-ce-3:20.10.7-3.el7.x86_64 requires containerd.io >= 1.4.1, but none of the providers can be installed
- cannot install the best candidate for the job
- package containerd.io-1.4.3-3.1.el7.x86_64 is filtered out by modular filtering
- package containerd.io-1.4.3-3.2.el7.x86_64 is filtered out by modular filtering
- package containerd.io-1.4.4-3.1.el7.x86_64 is filtered out by modular filtering
- package containerd.io-1.4.6-3.1.el7.x86_64 is filtered out by modular filtering
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
$ docker -v
Docker version 19.03.12, build 48a66213fe
$,解决方案是什么?
发布于 2021-06-11 18:49:32
我解决了这个问题,在https://pkgs.org/ in search containerd中寻找。
论CentOS -> Docker CE Stable x86_64
https://centos.pkgs.org/8/docker-ce-stable-x86_64/containerd.io-1.4.6-3.1.el8.x86_64.rpm.html
寻找Binary Package
运行
$ sudo rpm -Uvh https://download.docker.com/linux/centos/8/x86_64/stable/Packages/containerd.io-1.4.6-3.1.el8.x86_64.rpm也许你以后需要..。
sudo rpm -Uvh https://download.docker.com/linux/centos/8/x86_64/stable/Packages/docker-ce-cli-20.10.7-3.el8.x86_64.rpm
sudo rpm -Uvh https://download.docker.com/linux/centos/8/x86_64/stable/Packages/docker-ce-20.10.7-3.el8.x86_64.rpm现在,再次尝试更新。
$ sudo yum update -yhttps://stackoverflow.com/questions/67942040
复制相似问题