centOs8安装docker报错:错误:事务检查错误
运行sudo yum install docker-ce docker-ce-cli containerd.io
命令安装docker时会报Transaction check error
事物检查错误,试了几遍也都是这个问题。
运行事务检查
事务检查成功。
运行事务测试
下载的软件包保存在缓存中,直到下次成功执行事务。
您可以通过执行 ‘dnf clean packages’ 删除软件包缓存。
错误:事务检查错误:
file /usr/share/man/man1/docker-attach.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-build.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-commit.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-container-prune.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-container.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-cp.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-create.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-diff.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-events.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-exec.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-export.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-history.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-image-prune.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-image.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-images.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-import.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-info.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-inspect.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-kill.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-load.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-login.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-logout.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-logs.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-pause.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-port.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-ps.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-pull.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-push.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-restart.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-rm.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-rmi.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-run.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-save.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-search.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-start.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-stats.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-stop.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-system-df.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-system-prune.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-system.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-tag.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-top.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-unpause.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-version.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-volume-create.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-volume-inspect.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-volume-ls.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-volume-prune.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-volume-rm.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-volume.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker-wait.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
file /usr/share/man/man1/docker.1.gz from install of docker-ce-cli-1:19.03.9-3.el7.x86_64 conflicts with file from package podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch
后面发现是安装docker会与podman有冲突,这个在上面的大段错误信息中也有描述到。
- 通过
rpm -q podman
命令查看本地环境中的podman信息
[root@wuwl ~]# rpm -q podman
podman-1.4.2-5.module_el8.1.0+237+63e26edc.x86_64
- 卸载podman,
dnf remove podman
[root@wuwl ~]# dnf remove podman
模块依赖问题问题 1: conflicting requests- nothing provides module(perl:5.26) needed by module perl-DBD-SQLite:1.58:8010020191114033549:073fa5fe-0.x86_64问题 2: conflicting requests- nothing provides module(perl:5.26) needed by module perl-DBI:1.641:8010020191113222731:16b3ab4d-0.x86_64
依赖关系解决。
========================================================================================================================软件包 架构 版本 仓库 大小
========================================================================================================================
移除:podman x86_64 1.4.2-5.module_el8.1.0+237+63e26edc @AppStream 51 M
移除依赖的软件包:cockpit-podman noarch 4-1.module_el8.1.0+237+63e26edc @AppStream 5.1 M
清除未被使用的依赖关系:libvarlink x86_64 18-3.el8 @anaconda 129 koci-systemd-hook x86_64 1:0.1.15-2.git2d0b8a3.module_el8.1.0+237+63e26edc @AppStream 74 kpodman-manpages noarch 1.4.2-5.module_el8.1.0+237+63e26edc @AppStream 134 k事务概要
========================================================================================================================
移除 5 软件包将会释放空间:56 M
确定吗?[y/N]: y
运行事务检查
事务检查成功。
运行事务测试
事务测试成功。
运行事务准备中 : 1/1 运行脚本: cockpit-podman-4-1.module_el8.1.0+237+63e26edc.noarch 1/1 删除 : cockpit-podman-4-1.module_el8.1.0+237+63e26edc.noarch 1/5 删除 : podman-1.4.2-5.module_el8.1.0+237+63e26edc.x86_64 2/5 运行脚本: podman-1.4.2-5.module_el8.1.0+237+63e26edc.x86_64 2/5 删除 : podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch 3/5 删除 : oci-systemd-hook-1:0.1.15-2.git2d0b8a3.module_el8.1.0+237+63e26edc.x86_64 4/5 删除 : libvarlink-18-3.el8.x86_64 5/5 运行脚本: libvarlink-18-3.el8.x86_64 5/5 验证 : cockpit-podman-4-1.module_el8.1.0+237+63e26edc.noarch 1/5 验证 : libvarlink-18-3.el8.x86_64 2/5 验证 : oci-systemd-hook-1:0.1.15-2.git2d0b8a3.module_el8.1.0+237+63e26edc.x86_64 3/5 验证 : podman-1.4.2-5.module_el8.1.0+237+63e26edc.x86_64 4/5 验证 : podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch 5/5 已移除:podman-1.4.2-5.module_el8.1.0+237+63e26edc.x86_64 cockpit-podman-4-1.module_el8.1.0+237+63e26edc.noarch libvarlink-18-3.el8.x86_64 oci-systemd-hook-1:0.1.15-2.git2d0b8a3.module_el8.1.0+237+63e26edc.x86_64 podman-manpages-1.4.2-5.module_el8.1.0+237+63e26edc.noarch 完毕!
- 安装docker
[root@wuwl ~]# sudo yum install -y yum-utils \
> device-mapper-persistent-data \
> lvm2
上次元数据过期检查:0:06:02 前,执行于 2020年05月25日 星期一 22时00分47秒。
软件包 yum-utils-4.0.8-3.el8.noarch 已安装。
软件包 device-mapper-persistent-data-0.8.5-2.el8.x86_64 已安装。
软件包 lvm2-8:2.03.05-5.el8.0.1.x86_64 已安装。
依赖关系解决。
无需任何处理。
完毕!
[root@wuwl ~]# sudo yum-config-manager \
> --add-repo \
> https://download.docker.com/linux/centos/docker-ce.repo
添加仓库自:https://download.docker.com/linux/centos/docker-ce.repo
[root@wuwl ~]# sudo yum install docker-ce docker-ce-cli containerd.io
CentOS-8 - AppStream 2.8 kB/s | 4.3 kB 00:01
CentOS-8 - Base 5.4 kB/s | 3.9 kB 00:00
CentOS-8 - Extras 1.5 kB/s | 1.5 kB 00:01
Docker CE Stable - x86_64 9.0 kB/s | 3.5 kB 00:00
软件包 containerd.io-1.2.6-3.3.fc30.x86_64 已安装。
依赖关系解决。
========================================================================================================================软件包 架构 版本 仓库 大小
========================================================================================================================
安装:docker-ce x86_64 3:19.03.9-3.el7 docker-ce-stable 24 Mdocker-ce-cli x86_64 1:19.03.9-3.el7 docker-ce-stable 38 M
安装依赖关系:libcgroup x86_64 0.41-19.el8 BaseOS 70 k事务概要
========================================================================================================================
安装 3 软件包总下载:62 M
安装大小:263 M
确定吗?[y/N]: y
下载软件包:
(1/3): libcgroup-0.41-19.el8.x86_64.rpm 176 kB/s | 70 kB 00:00
(2/3): docker-ce-19.03.9-3.el7.x86_64.rpm 1.2 MB/s | 24 MB 00:20
(3/3): docker-ce-cli-19.03.9-3.el7.x86_64.rpm 1.9 MB/s | 38 MB 00:20
------------------------------------------------------------------------------------------------------------------------
总计 2.6 MB/s | 62 MB 00:23
运行事务检查
事务检查成功。
运行事务测试
事务测试成功。
运行事务准备中 : 1/1 安装 : docker-ce-cli-1:19.03.9-3.el7.x86_64 1/3 运行脚本: docker-ce-cli-1:19.03.9-3.el7.x86_64 1/3 运行脚本: libcgroup-0.41-19.el8.x86_64 2/3 安装 : libcgroup-0.41-19.el8.x86_64 2/3 运行脚本: libcgroup-0.41-19.el8.x86_64 2/3 安装 : docker-ce-3:19.03.9-3.el7.x86_64 3/3 运行脚本: docker-ce-3:19.03.9-3.el7.x86_64 3/3 验证 : libcgroup-0.41-19.el8.x86_64 1/3 验证 : docker-ce-3:19.03.9-3.el7.x86_64 2/3 验证 : docker-ce-cli-1:19.03.9-3.el7.x86_64 3/3 已安装:docker-ce-3:19.03.9-3.el7.x86_64 docker-ce-cli-1:19.03.9-3.el7.x86_64 libcgroup-0.41-19.el8.x86_64 完毕!
centOs8安装docker报错:错误:事务检查错误相关推荐
- centos8安装向日葵报错解决
centos8安装向日葵报错解决 首先下载linux向日葵 下载地址:https://sunlogin.oray.com/download 官方安装文档:https://service.oray.co ...
- CentOS 8.0 安装docker 报错:Problem package docker-ce-3 19.03.4-3.el7.x86_64 require
文章目录 CentOS 8.0 安装docker 报错:Problem: package docker-ce-3:19.03.4-3.el7.x86_64 requires containerd.io ...
- 安装docker报错 Requires: fuse-overlayfs >= 0.7
原因:安装时出现错误docker,centos7.9 安装docker报错 Requires: fuse-overlayfs >= 0.7 el7.x86_64 ---> Package ...
- Edge浏览器安装插件报错:显示出现错误 Download interrupted
目录 出现错误 经过 解决 出现错误 Edge浏览器安装插件报错:显示出现错误 Download interrupted. 或者新换电脑无法同步安装插件. 经过 查询后,较多为修改C盘下Host文件, ...
- Ubuntu安装docker报错:Package ‘docker-ce‘ has no installation candidate
Package 'docker-ce' has no installation candidate Ubuntu 20.04.3 安装docker报错 报错一: E: Package 'docker- ...
- 安装docker报错Hardware assisted virtualization and data execution protection must be enabled in the BIOS
win10安装docker时报错Hardware assisted virtualization and data execution protection must be enabled in th ...
- CentOS8.5版本安装Docker报错,版本太新太多坑了
按照教程在自己的阿里云CentOS8.5服务器上安装Docker,一直各种报错,找了各种教程和视频,解决了很多错,最后一直有个错解决不了,在想放弃时搜了找到了一篇文章找到了从根本上解决问题的方法. [ ...
- centos7.9 安装docker报错 Requires: fuse-overlayfs >= 0.7安装时出现错误docker
ps:今天在服务器上安装docker 发现报错版本异常 el7.x86_64 ---> Package docker-scan-plugin.x86_64 0:0.8.0-3.el7 will ...
- CentOS 8 安装 Docker 报错 requires containerd.io >= 1.4.1, but none of the providers can be installed
CentOS 8.1安装 Docker 官方参考地址:https://docs.docker.com/install/linux/docker-ce/centos/ 里面包含包下载地址:https:/ ...
最新文章
- 与smart_Smart超纯水系统及原理
- 点滴积累【JS】---JS小功能(setInterval实现图片效果显示时间)
- thrust 学习笔记
- python自定义线程
- 运维基础(2)实用工具篇
- 物理化学 化学 动力学(上)
- 分布式与人工智能课程(part14)--深度学习
- 论文浅尝 | Dynamic Weighted Majority for Incremental Learning
- Spring/Spring boot正确集成Quartz及解决@Autowired失效问题
- python查看函数消耗的内存_用sys.getsizeof查看对象占用内存数
- 队列queue中的常用函数
- 新乡医学院三全学院赴范县历史成就观察团
- 利用NEO与Unity制作游戏(第1部分)
- Android超方便 集成 Zxing实现扫一扫,闪光灯,生成二维码图片,解析二维码(条码)等功能
- pytorch 常用目标检测评价指标总结
- 软件设计师 UML建模大题
- openmeetings(八)
- Flink (四) Flink 的安装和部署- Flink on Yarn 模式 / 集群HA / 并行度和Slot
- 精简模式 大师 易水之畔 自动刷冒险任务 刷金币
- Win10打印任务删除不了怎么办?
热门文章
- 为什么jQuery或诸如getElementById之类的DOM方法找不到元素?
- 虚拟串口 服务器,ZNetCManager
- win11设置打开闪退怎么办,解决win11系统闪退的问题
- 自定义action消息
- vmware虚拟机网络模式
- java 变量 安全访问_访问java变量
- 谷歌放弃go_盘点国内可以使用的十种谷歌服务
- 怎么解锁blockinput锁定的键盘_电脑键盘上的三个灯分别是什么作用?虽然很简单,但是很实用...
- python找工作好不好_Python这么火,为何有人说Python不好找工作?
- 关于DXF文件读取的小结