docker: problem with installed package podman-3.0.1-6.module_el8.4.0+781+acf4c33b.x86_64
1.环境
[test1280@localhost ~]$ uname -a
Linux localhost.localdomain 4.18.0-305.3.1.el8.x86_64
[test1280@localhost ~]$ cat /etc/redhat-release
CentOS Linux release 8.4.2105
[test1280@localhost ~]$ rpm -q podman
podman-3.0.1-6.module_el8.4.0+781+acf4c33b.x86_64
2.报错
[test1280@localhost ~]$ sudo yum install docker-ce docker-ce-cli containerd.io
Docker CE Stable - x86_64 70 kB/s | 15 kB 00:00
错误:
问题 1: problem with installed package podman-3.0.1-6.module_el8.4.0+781+acf4c33b.x86_64
- package podman-3.0.1-6.module_el8.4.0+781+acf4c33b.x86_64 requires runc >= 1.0.0-57, but none of the providers can be installed
- package podman-3.0.1-7.module_el8.4.0+830+8027e1c4.x86_64 requires runc >= 1.0.0-57, but none of the providers can be installed
- package containerd.io-1.4.9-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
- package containerd.io-1.4.9-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
- package containerd.io-1.4.9-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
- package containerd.io-1.4.9-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
- cannot install the best candidate for the job
- package runc-1.0.0-64.rc10.module_el8.4.0+522+66908d0c.x86_64 is filtered out by modular filtering
- package runc-1.0.0-65.rc10.module_el8.4.0+819+4afbd1d6.x86_64 is filtered out by modular filtering
- package runc-1.0.0-70.rc92.module_el8.4.0+786+4668b267.x86_64 is filtered out by modular filtering
- package runc-1.0.0-71.rc92.module_el8.4.0+833+9763146c.x86_64 is filtered out by modular filtering
问题 2: problem with installed package podman-catatonit-3.0.1-6.module_el8.4.0+781+acf4c33b.x86_64
- package podman-catatonit-3.0.1-6.module_el8.4.0+781+acf4c33b.x86_64 requires podman = 3.0.1-6.module_el8.4.0+781+acf4c33b, but none of the providers can be installed
- package podman-3.0.1-6.module_el8.4.0+781+acf4c33b.x86_64 requires runc >= 1.0.0-57, but none of the providers can be installed
- package containerd.io-1.4.3-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
- package containerd.io-1.4.3-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
- package containerd.io-1.4.3-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
- package containerd.io-1.4.3-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
- package docker-ce-3:20.10.8-3.el8.x86_64 requires containerd.io >= 1.4.1, but none of the providers can be installed
- package containerd.io-1.4.3-3.2.el8.x86_64 conflicts with runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
- package containerd.io-1.4.3-3.2.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
- package containerd.io-1.4.3-3.2.el8.x86_64 conflicts with runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
- package containerd.io-1.4.3-3.2.el8.x86_64 obsoletes runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
- package containerd.io-1.4.4-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
- package containerd.io-1.4.4-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
- package containerd.io-1.4.6-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
- package containerd.io-1.4.6-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
- package containerd.io-1.4.8-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
- package containerd.io-1.4.8-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
- package containerd.io-1.4.9-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
- package containerd.io-1.4.9-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
- cannot install the best candidate for the job
- package runc-1.0.0-64.rc10.module_el8.4.0+522+66908d0c.x86_64 is filtered out by modular filtering
- package runc-1.0.0-65.rc10.module_el8.4.0+819+4afbd1d6.x86_64 is filtered out by modular filtering
- package runc-1.0.0-70.rc92.module_el8.4.0+786+4668b267.x86_64 is filtered out by modular filtering
- package runc-1.0.0-71.rc92.module_el8.4.0+833+9763146c.x86_64 is filtered out by modular filtering
- package containerd.io-1.4.4-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
- package containerd.io-1.4.4-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
- package containerd.io-1.4.6-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
- package containerd.io-1.4.6-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
- package containerd.io-1.4.8-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
- package containerd.io-1.4.8-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
- package containerd.io-1.4.9-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
- package containerd.io-1.4.9-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
- package podman-catatonit-3.0.1-7.module_el8.4.0+830+8027e1c4.x86_64 requires podman = 3.0.1-7.module_el8.4.0+830+8027e1c4, but none of the providers can be installed
- package podman-3.0.1-7.module_el8.4.0+830+8027e1c4.x86_64 requires runc >= 1.0.0-57, but none of the providers can be installed
(尝试在命令行中添加 '--allowerasing' 来替换冲突的软件包 或 '--skip-broken' 来跳过无法安装的软件包 或 '--nobest' 来不只使用软件包的最佳候选)
3.解决
移除
[test1280@localhost ~]$ sudo yum erase podman buildah
依赖关系解决。
======================================================================================================================================================
软件包 架构 版本 仓库 大小
======================================================================================================================================================
移除:
buildah x86_64 1.19.7-1.module_el8.4.0+781+acf4c33b @AppStream 25 M
podman x86_64 3.0.1-6.module_el8.4.0+781+acf4c33b @AppStream 44 M
移除依赖的软件包:
cockpit-podman noarch 29-2.module_el8.4.0+781+acf4c33b @AppStream 3.8 M
清除未被使用的依赖关系:
conmon x86_64 2:2.0.26-1.module_el8.4.0+781+acf4c33b @AppStream 164 k
container-selinux noarch 2:2.158.0-1.module_el8.4.0+781+acf4c33b @AppStream 47 k
containers-common x86_64 1:1.2.2-8.module_el8.4.0+781+acf4c33b @AppStream 299 k
criu x86_64 3.15-1.module_el8.4.0+641+6116a774 @AppStream 1.4 M
fuse-overlayfs x86_64 1.4.0-2.module_el8.4.0+673+eabfc99d @AppStream 145 k
fuse3 x86_64 3.2.1-12.el8 @anaconda 90 k
fuse3-libs x86_64 3.2.1-12.el8 @anaconda 279 k
libnet x86_64 1.1.6-15.el8 @AppStream 170 k
libslirp x86_64 4.3.1-1.module_el8.4.0+575+63b40ad7 @AppStream 129 k
podman-catatonit x86_64 3.0.1-6.module_el8.4.0+781+acf4c33b @AppStream 760 k
runc x86_64 1.0.0-70.rc92.module_el8.4.0+673+eabfc99d @AppStream 11 M
slirp4netns x86_64 1.1.8-1.module_el8.4.0+641+6116a774 @AppStream 98 k
事务概要
======================================================================================================================================================
移除 15 软件包
将会释放空间:87 M
确定吗?[y/N]: y
运行事务检查
事务检查成功。
运行事务测试
事务测试成功。
运行事务
准备中 : 1/1
运行脚本: buildah-1.19.7-1.module_el8.4.0+781+acf4c33b.x86_64 1/1
删除 : buildah-1.19.7-1.module_el8.4.0+781+acf4c33b.x86_64 1/15
删除 : cockpit-podman-29-2.module_el8.4.0+781+acf4c33b.noarch 2/15
删除 : podman-3.0.1-6.module_el8.4.0+781+acf4c33b.x86_64 3/15
运行脚本: podman-3.0.1-6.module_el8.4.0+781+acf4c33b.x86_64 3/15
删除 : containers-common-1:1.2.2-8.module_el8.4.0+781+acf4c33b.x86_64 4/15
删除 : container-selinux-2:2.158.0-1.module_el8.4.0+781+acf4c33b.noarch 5/15
运行脚本: container-selinux-2:2.158.0-1.module_el8.4.0+781+acf4c33b.noarch 5/15
删除 : podman-catatonit-3.0.1-6.module_el8.4.0+781+acf4c33b.x86_64 6/15
删除 : fuse-overlayfs-1.4.0-2.module_el8.4.0+673+eabfc99d.x86_64 7/15
删除 : slirp4netns-1.1.8-1.module_el8.4.0+641+6116a774.x86_64 8/15
删除 : runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64 9/15
删除 : criu-3.15-1.module_el8.4.0+641+6116a774.x86_64 10/15
删除 : libnet-1.1.6-15.el8.x86_64 11/15
运行脚本: libnet-1.1.6-15.el8.x86_64 11/15
删除 : libslirp-4.3.1-1.module_el8.4.0+575+63b40ad7.x86_64 12/15
删除 : fuse3-3.2.1-12.el8.x86_64 13/15
删除 : fuse3-libs-3.2.1-12.el8.x86_64 14/15
运行脚本: fuse3-libs-3.2.1-12.el8.x86_64 14/15
删除 : conmon-2:2.0.26-1.module_el8.4.0+781+acf4c33b.x86_64 15/15
运行脚本: conmon-2:2.0.26-1.module_el8.4.0+781+acf4c33b.x86_64 15/15
验证 : buildah-1.19.7-1.module_el8.4.0+781+acf4c33b.x86_64 1/15
验证 : cockpit-podman-29-2.module_el8.4.0+781+acf4c33b.noarch 2/15
验证 : conmon-2:2.0.26-1.module_el8.4.0+781+acf4c33b.x86_64 3/15
验证 : container-selinux-2:2.158.0-1.module_el8.4.0+781+acf4c33b.noarch 4/15
验证 : containers-common-1:1.2.2-8.module_el8.4.0+781+acf4c33b.x86_64 5/15
验证 : criu-3.15-1.module_el8.4.0+641+6116a774.x86_64 6/15
验证 : fuse-overlayfs-1.4.0-2.module_el8.4.0+673+eabfc99d.x86_64 7/15
验证 : fuse3-3.2.1-12.el8.x86_64 8/15
验证 : fuse3-libs-3.2.1-12.el8.x86_64 9/15
验证 : libnet-1.1.6-15.el8.x86_64 10/15
验证 : libslirp-4.3.1-1.module_el8.4.0+575+63b40ad7.x86_64 11/15
验证 : podman-3.0.1-6.module_el8.4.0+781+acf4c33b.x86_64 12/15
验证 : podman-catatonit-3.0.1-6.module_el8.4.0+781+acf4c33b.x86_64 13/15
验证 : runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64 14/15
验证 : slirp4netns-1.1.8-1.module_el8.4.0+641+6116a774.x86_64 15/15
Installed products updated.
已移除:
buildah-1.19.7-1.module_el8.4.0+781+acf4c33b.x86_64 cockpit-podman-29-2.module_el8.4.0+781+acf4c33b.noarch
conmon-2:2.0.26-1.module_el8.4.0+781+acf4c33b.x86_64 container-selinux-2:2.158.0-1.module_el8.4.0+781+acf4c33b.noarch
containers-common-1:1.2.2-8.module_el8.4.0+781+acf4c33b.x86_64 criu-3.15-1.module_el8.4.0+641+6116a774.x86_64
fuse-overlayfs-1.4.0-2.module_el8.4.0+673+eabfc99d.x86_64 fuse3-3.2.1-12.el8.x86_64
fuse3-libs-3.2.1-12.el8.x86_64 libnet-1.1.6-15.el8.x86_64
libslirp-4.3.1-1.module_el8.4.0+575+63b40ad7.x86_64 podman-3.0.1-6.module_el8.4.0+781+acf4c33b.x86_64
podman-catatonit-3.0.1-6.module_el8.4.0+781+acf4c33b.x86_64 runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
slirp4netns-1.1.8-1.module_el8.4.0+641+6116a774.x86_64
完毕!
重试
[test1280@localhost ~]$ sudo yum install docker-ce docker-ce-cli containerd.io
上次元数据过期检查:0:02:47 前,执行于 2021年08月08日 星期日 23时52分06秒。
依赖关系解决。
======================================================================================================================================================
软件包 架构 版本 仓库 大小
======================================================================================================================================================
安装:
containerd.io x86_64 1.4.9-3.1.el8 docker-ce-stable 30 M
docker-ce x86_64 3:20.10.8-3.el8 docker-ce-stable 22 M
docker-ce-cli x86_64 1:20.10.8-3.el8 docker-ce-stable 29 M
安装依赖关系:
container-selinux noarch 2:2.162.0-1.module_el8.4.0+830+8027e1c4 appstream 52 k
docker-ce-rootless-extras x86_64 20.10.8-3.el8 docker-ce-stable 4.6 M
docker-scan-plugin x86_64 0.8.0-3.el8 docker-ce-stable 4.2 M
fuse-overlayfs x86_64 1.4.0-3.module_el8.4.0+830+8027e1c4 appstream 72 k
fuse3 x86_64 3.2.1-12.el8 baseos 50 k
fuse3-libs x86_64 3.2.1-12.el8 baseos 94 k
libcgroup x86_64 0.41-19.el8 baseos 70 k
libslirp x86_64 4.3.1-1.module_el8.4.0+575+63b40ad7 appstream 69 k
slirp4netns x86_64 1.1.8-1.module_el8.4.0+641+6116a774 appstream 51 k
事务概要
======================================================================================================================================================
安装 12 软件包
总下载:90 M
安装大小:377 M
确定吗?[y/N]: y
下载软件包:
(1/12): container-selinux-2.162.0-1.module_el8.4.0+830+8027e1c4.noarch.rpm 301 kB/s | 52 kB 00:00
(2/12): libslirp-4.3.1-1.module_el8.4.0+575+63b40ad7.x86_64.rpm 378 kB/s | 69 kB 00:00
(3/12): fuse-overlayfs-1.4.0-3.module_el8.4.0+830+8027e1c4.x86_64.rpm 387 kB/s | 72 kB 00:00
(4/12): slirp4netns-1.1.8-1.module_el8.4.0+641+6116a774.x86_64.rpm 560 kB/s | 51 kB 00:00
(5/12): fuse3-3.2.1-12.el8.x86_64.rpm 249 kB/s | 50 kB 00:00
(6/12): libcgroup-0.41-19.el8.x86_64.rpm 393 kB/s | 70 kB 00:00
(7/12): fuse3-libs-3.2.1-12.el8.x86_64.rpm 342 kB/s | 94 kB 00:00
(8/12): containerd.io-1.4.9-3.1.el8.x86_64.rpm 4.4 MB/s | 30 MB 00:06
(9/12): docker-ce-rootless-extras-20.10.8-3.el8.x86_64.rpm 4.1 MB/s | 4.6 MB 00:01
(10/12): docker-scan-plugin-0.8.0-3.el8.x86_64.rpm 4.6 MB/s | 4.2 MB 00:00
(11/12): docker-ce-cli-20.10.8-3.el8.x86_64.rpm 2.3 MB/s | 29 MB 00:12
(12/12): docker-ce-20.10.8-3.el8.x86_64.rpm 1.6 MB/s | 22 MB 00:13
------------------------------------------------------------------------------------------------------------------------------------------------------
总计 6.0 MB/s | 90 MB 00:15
警告:/var/cache/dnf/docker-ce-stable-ab4061364e2cf0db/packages/containerd.io-1.4.9-3.1.el8.x86_64.rpm: 头V4 RSA/SHA512 Signature, 密钥 ID 621e9f35: NOKEY
Docker CE Stable - x86_64 12 kB/s | 1.6 kB 00:00
导入 GPG 公钥 0x621E9F35:
Userid: "Docker Release (CE rpm) <docker@docker.com>"
指纹: 060A 61C5 1B55 8A7F 742B 77AA C52F EB6B 621E 9F35
来自: https://mirrors.aliyun.com/docker-ce/linux/centos/gpg
确定吗?[y/N]: y
导入公钥成功
运行事务检查
事务检查成功。
运行事务测试
事务测试成功。
运行事务
准备中 : 1/1
安装 : docker-scan-plugin-0.8.0-3.el8.x86_64 1/12
运行脚本: docker-scan-plugin-0.8.0-3.el8.x86_64 1/12
安装 : docker-ce-cli-1:20.10.8-3.el8.x86_64 2/12
运行脚本: docker-ce-cli-1:20.10.8-3.el8.x86_64 2/12
运行脚本: container-selinux-2:2.162.0-1.module_el8.4.0+830+8027e1c4.noarch 3/12
安装 : container-selinux-2:2.162.0-1.module_el8.4.0+830+8027e1c4.noarch 3/12
运行脚本: container-selinux-2:2.162.0-1.module_el8.4.0+830+8027e1c4.noarch 3/12
安装 : containerd.io-1.4.9-3.1.el8.x86_64 4/12
运行脚本: containerd.io-1.4.9-3.1.el8.x86_64 4/12
运行脚本: libcgroup-0.41-19.el8.x86_64 5/12
安装 : libcgroup-0.41-19.el8.x86_64 5/12
运行脚本: libcgroup-0.41-19.el8.x86_64 5/12
安装 : fuse3-libs-3.2.1-12.el8.x86_64 6/12
运行脚本: fuse3-libs-3.2.1-12.el8.x86_64 6/12
安装 : fuse3-3.2.1-12.el8.x86_64 7/12
安装 : fuse-overlayfs-1.4.0-3.module_el8.4.0+830+8027e1c4.x86_64 8/12
运行脚本: fuse-overlayfs-1.4.0-3.module_el8.4.0+830+8027e1c4.x86_64 8/12
安装 : libslirp-4.3.1-1.module_el8.4.0+575+63b40ad7.x86_64 9/12
安装 : slirp4netns-1.1.8-1.module_el8.4.0+641+6116a774.x86_64 10/12
安装 : docker-ce-rootless-extras-20.10.8-3.el8.x86_64 11/12
运行脚本: docker-ce-rootless-extras-20.10.8-3.el8.x86_64 11/12
安装 : docker-ce-3:20.10.8-3.el8.x86_64 12/12
运行脚本: docker-ce-3:20.10.8-3.el8.x86_64 12/12
运行脚本: container-selinux-2:2.162.0-1.module_el8.4.0+830+8027e1c4.noarch 12/12
运行脚本: docker-ce-3:20.10.8-3.el8.x86_64 12/12
验证 : container-selinux-2:2.162.0-1.module_el8.4.0+830+8027e1c4.noarch 1/12
验证 : fuse-overlayfs-1.4.0-3.module_el8.4.0+830+8027e1c4.x86_64 2/12
验证 : libslirp-4.3.1-1.module_el8.4.0+575+63b40ad7.x86_64 3/12
验证 : slirp4netns-1.1.8-1.module_el8.4.0+641+6116a774.x86_64 4/12
验证 : fuse3-3.2.1-12.el8.x86_64 5/12
验证 : fuse3-libs-3.2.1-12.el8.x86_64 6/12
验证 : libcgroup-0.41-19.el8.x86_64 7/12
验证 : containerd.io-1.4.9-3.1.el8.x86_64 8/12
验证 : docker-ce-3:20.10.8-3.el8.x86_64 9/12
验证 : docker-ce-cli-1:20.10.8-3.el8.x86_64 10/12
验证 : docker-ce-rootless-extras-20.10.8-3.el8.x86_64 11/12
验证 : docker-scan-plugin-0.8.0-3.el8.x86_64 12/12
Installed products updated.
已安装:
container-selinux-2:2.162.0-1.module_el8.4.0+830+8027e1c4.noarch containerd.io-1.4.9-3.1.el8.x86_64
docker-ce-3:20.10.8-3.el8.x86_64 docker-ce-cli-1:20.10.8-3.el8.x86_64
docker-ce-rootless-extras-20.10.8-3.el8.x86_64 docker-scan-plugin-0.8.0-3.el8.x86_64
fuse-overlayfs-1.4.0-3.module_el8.4.0+830+8027e1c4.x86_64 fuse3-3.2.1-12.el8.x86_64
fuse3-libs-3.2.1-12.el8.x86_64 libcgroup-0.41-19.el8.x86_64
libslirp-4.3.1-1.module_el8.4.0+575+63b40ad7.x86_64 slirp4netns-1.1.8-1.module_el8.4.0+641+6116a774.x86_64
完毕!
4.参考
https://blog.csdn.net/ywyngq/article/details/118158608 https://www.cnblogs.com/superelement/p/14780515.html
|