zoukankan      html  css  js  c++  java
  • docker 报Error: docker-engine-selinux conflicts with docker-selinux-1.9.1-25.el7.centos.x86_64

    root@ecshop Deploy]# yum -y install docker-engine-selinux.noarch
    Loaded plugins: fastestmirror
    http://downloads-distro.mongodb.org/repo/redhat/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 500 - Internal Server Error
    Trying other mirror.
    Loading mirror speeds from cached hostfile
    * base: mirror.neu.edu.cn
    * epel: mirror.pregi.net
    * extras: mirrors.aliyun.com
    * updates: mirrors.aliyun.com
    Resolving Dependencies
    --> Running transaction check
    ---> Package docker-engine-selinux.noarch 0:1.11.1-1.el7.centos will be installed
    --> Processing Conflict: docker-engine-selinux-1.11.1-1.el7.centos.noarch conflicts docker-selinux
    --> Finished Dependency Resolution
    Error: docker-engine-selinux conflicts with docker-selinux-1.9.1-25.el7.centos.x86_64
    You could try using --skip-broken to work around the problem
    You could try running: rpm -Va --nofiles --nodigest

    -------------------------------------

    在stackoverflow上面看了一下,大概说的是你以前安装过了,先要把它给卸载了,就可以 了解决方法

    [root@ecshop yum.repos.d]# rpm -qa|grep docker-engine-selinux.noarch 
    [root@ecshop yum.repos.d]# rpm -qa|grep docker-engine-selinux
    [root@ecshop yum.repos.d]# rpm -qa|grep docker
    docker-selinux-1.9.1-25.el7.centos.x86_64
    docker-registry-0.9.1-7.el7.x86_64
    docker-forward-journald-1.9.1-25.el7.centos.x86_64
    [root@ecshop yum.repos.d]# rpm -e docker-selinux
    [root@ecshop yum.repos.d]# rpm -e docker-registry
  • 相关阅读:
    [BZOJ3535][Usaco2014 Open]Fair Photography
    [LOJ#2270][BZOJ4912][SDOI2017]天才黑客
    [UOJ#122][NOI2013]树的计数
    [BZOJ4816][Sdoi2017]数字表格
    [BZOJ2154]Crash的数字表格
    [BZOJ3529][Sdoi2014]数表
    [BZOJ2820]YY的GCD
    [BZOJ2301][HAOI2011]Problem b
    [UOJ#223][BZOJ4654][Noi2016]国王饮水记
    [BZOJ4653][Noi2016]区间
  • 原文地址:https://www.cnblogs.com/jackluo/p/5442808.html
Copyright © 2011-2022 走看看