参考:http://www.mamicode.com/info-detail-2506078.html

  如果在yum安装软件的时候,出现了Transaction check error:这种情况,说明rpm软件包出现了冲突,解决方法是:

  vi /etc/yum.repos.d/epel.repo   

  将enabled=1改为0,并且执行:yum list installed | grep docker,会出现

  docker-client.x86_64                 2:1.12.6-61.git85d7426.el7.centos @extras  
  docker-common.x86_64                 2:1.12.6-61.git85d7426.el7.centos @extra
  将上述删除即可
  [root@centos7 lib]# rpm -e docker-client.x86_64 
  [root@centos7 lib]# rpm -e docker-common.x86_64   

  然后在查看getenforce,如果开启,则关闭,最后再重新yum安装想安装的软件就可以了。

  

相关文章:

  • 2021-08-09
  • 2021-09-22
  • 2021-05-03
  • 2022-12-23
  • 2021-11-12
  • 2021-06-01
猜你喜欢
  • 2021-07-07
  • 2022-12-23
  • 2022-01-08
  • 2021-09-14
  • 2022-12-23
  • 2021-08-04
相关资源
相似解决方案