首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >当试图在CentOS 8上安装停靠程序时,获取一系列文件冲突,如runc和containerd

当试图在CentOS 8上安装停靠程序时,获取一系列文件冲突,如runc和containerd
EN

Unix & Linux用户
提问于 2020-09-24 18:15:26
回答 1查看 17.6K关注 0票数 11

当我试图在CentOS 8上安装docker/docker-ce时,我认为这是一个文件冲突错误。

下面是我要做的来获得错误:

代码语言:javascript
复制
dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo

//Check for available versions and if its the latest just install it:
dnf list docker-ce
dnf install docker-ce

Error:
 Problem: problem with installed package podman-1.6.4-10.module_el8.2.0+305+5e198a41.x86_64
  - package podman-1.6.4-10.module_el8.2.0+305+5e198a41.x86_64 requires runc >= 1.0.0-57, but none of the providers can be installed
  - package containerd.io-1.3.7-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-65.rc10.module_el8.2.0+305+5e198a41.x86_64
  - package containerd.io-1.3.7-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-65.rc10.module_el8.2.0+305+5e198a41.x86_64
  - package docker-ce-3:19.03.13-3.el8.x86_64 requires containerd.io >= 1.2.2-3, but none of the providers can be installed
  - conflicting requests
  - package runc-1.0.0-64.rc10.module_el8.2.0+304+65a3c2ac.x86_64 is filtered out by modular filtering
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages)

当然,我也会试试--当然也不会:

代码语言:javascript
复制
sudo  dnf install docker-ce --nobest

Last metadata expiration check: 0:17:51 ago on Thu 24 Sep 2020 01:51:30 PM EDT.
Error:
 Problem: problem with installed package podman-1.6.4-10.module_el8.2.0+305+5e198a41.x86_64
  - package podman-1.6.4-10.module_el8.2.0+305+5e198a41.x86_64 requires runc >= 1.0.0-57, but none of the providers can be installed
  - package containerd.io-1.3.7-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-65.rc10.module_el8.2.0+305+5e198a41.x86_64
  - package containerd.io-1.3.7-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-65.rc10.module_el8.2.0+305+5e198a41.x86_64
  - package docker-ce-3:19.03.13-3.el8.x86_64 requires containerd.io >= 1.2.2-3, but none of the providers can be installed
  - conflicting requests
  - package runc-1.0.0-64.rc10.module_el8.2.0+304+65a3c2ac.x86_64 is filtered out by modular filtering
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages)ting packages or '--skip-broken' to skip uninstallable packages)

如果我尝试--允许删除,那么肯定可以.但是删除这些runc,podman和these文件安全吗?在那之后会起作用吗?在如此重要的发行版上发生这种事太奇怪了,但我找不到确切的解决办法。

EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2020-09-24 18:30:45

podmanbuildah包与docker-ce冲突。先将其移除:

代码语言:javascript
复制
yum erase podman buildah

然后可以安装docker-ce

代码语言:javascript
复制
yum install docker-ce

代码语言:javascript
复制
dnf install docker-ce
票数 23
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/611228

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档