gpt4 book ai didi

docker - Docker:交易检查错误

转载 作者:行者123 更新时间:2023-12-02 18:56:00 25 4
gpt4 key购买 nike

我正在尝试安装docker并遵循https://get.docker.com/

我在CentOS7上

-bash-4.2$ cd
-bash-4.2$ wget -qO- https://get.docker.com/ | sh
+ sudo -E sh -c 'sleep 3; yum -y -q install docker-engine'
Transaction check error:
file /usr/lib/systemd/system/blk-availability.service from install of device-mapper-7:1.02.107-5.el7_2.5.x86_64 conflicts with file from package lvm2-7:2.02.105-14.el7.x86_64
file /usr/sbin/blkdeactivate from install of device-mapper-7:1.02.107-5.el7_2.5.x86_64 conflicts with file from package lvm2-7:2.02.105-14.el7.x86_64
file /usr/share/man/man8/blkdeactivate.8.gz from install of device-mapper-7:1.02.107-5.el7_2.5.x86_64 conflicts with file from package lvm2-7:2.02.105-14.el7.x86_64

Error Summary
-------------

有人知道此错误的含义以及如何解决吗?

最佳答案

我更新了:

sudo yum update

现在docker命令现在可以使用了

关于docker - Docker:交易检查错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38402200/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com