使用centos7.0安装dockers时出现Transaction check error错误。
yum install docker
Transaction check error:
file /usr/lib/systemd/system/blk-availability.service from install of device-mapper-7:1.02.107-5.el7_2.2.x86_64 conflicts withfilefrom 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.2.x86_64 conflicts withfilefrom 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.2.x86_64 conflicts withfilefrom package lvm2-7:2.02.105-14.el7.x86_64
Error Summary
-------------
分析发现缺少文件,导致失败
yum install -y libdevmapper*
yum install -y docker
安装成功!!!