红联Linux门户
Linux帮助

安装centos7.0 docker引擎时,解决lvm包冲突问题

发布时间:2017-04-05 10:37:00来源:linux网站作者:Locutus
centos7.0安装Docker engine时,系统有以下提示:
# yum  install  docker-engine
Running transaction check
Running transaction test
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
 
经过查找,得到了下面的解决方法:
# yum  install  libdevmapper*   -y  //安装libdevmapper*
# yum  install  docker-engine   -y
执行以上两条命令后即可解决该问题。
 
本文永久更新地址:http://www.linuxdiyf.com/linux/29742.html