包 docker-ce 需要 containerd.io >= 1.4.1,但是没有一个提供程序可以安装

mar*_*tin 6 redhat yum docker containerd

今天早上我在红帽(Linux 4.18.0-240.1.1.el8_3.x86_64)上的更新/升级都遇到了这个问题,不知道该怎么做。听起来像 yum 完全卡住了因为这个。

$ sudo yum update
Updating Subscription Management repositories.
Last metadata expiration check: 2:40:27 ago on Wed 16 Dec 2020 07:53:10 AM CST.
Error: 
 Problem: package docker-ce-3:20.10.1-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.14-3.el7.x86_64
  - package containerd.io-1.4.3-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)
Run Code Online (Sandbox Code Playgroud)

Mic*_*ton 4

您正在尝试在 EL 8 上安装为 EL 7 构建的软件包。这是行不通的,并且不清楚您最初是如何做到这一点的。正确的 Docker CE 存储库文件将为您的 RHEL 版本获取正确的软件包版本,您应该使用它而不是您使用的任何自定义存储库。