大网数据广告活动
服务器运维问答

package docker-ce requires containerd.io >= 1.4.1, but none of the providers can be installed

· 52CE 我爱测

I had this problem this morning for both update / upgrade on red hat (Linux 4.18.0-240.1.1.el8_3.x86_64), not sure what to do. Sounds like yum is completely stuck because of this. $ sudo yum update Updating Subscription Managemen…

问题原文

原帖链接 · martin · CC BY-SA 4.0

I had this problem this morning for both update / upgrade on red hat (Linux 4.18.0-240.1.1.el8_3.x86_64), not sure what to do. Sounds like yum is completely stuck because of this.

$ 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)

已采纳解答

原帖链接 · Michael Hampton · CC BY-SA 4.0

You're trying to install packages built for EL 7 on EL 8. This isn't going to work, and it's not clear how you managed to do that in the first place. The correct Docker CE repo file gets the correct package versions for your RHEL release, and you should use it instead of whatever custom repo you have used.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2020-12-16)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。