zoukankan      html  css  js  c++  java
  • Error: libselinux conflicts with systemd-208-11.el7.x86_64 解决方法(卸载旧的冲突版本)

    yum install openssl-devel.x86_64没有成功,提示如下错误:

    Error: libselinux conflicts with systemd-208-11.el7.x86_64
     You could try using --skip-broken to work around the problem
    ** Found 7 pre-existing rpmdb problem(s), 'yum check' output follows:
    cryptsetup-libs-2.0.3-6.el7.x86_64 is a duplicate with cryptsetup-libs-1.6.3-2.el7.x86_64
    7:device-mapper-event-1.02.164-7.el7_8.2.x86_64 has installed conflicts lvm2-libs < ('7', '2.02.111', None): 7:lvm2-libs-2.02.105-14.el7.x86_64
    dracut-033-568.el7.x86_64 is a duplicate with dracut-033-161.el7.x86_64
    systemd-219-73.el7_8.8.x86_64 has installed conflicts dracut < ('0', '033', '243'): dracut-033-161.el7.x86_64
    systemd-219-73.el7_8.8.x86_64 has installed conflicts initscripts < ('0', '9.49.28', '1'): initscripts-9.49.17-1.el7.x86_64
    systemd-219-73.el7_8.8.x86_64 is a duplicate with systemd-208-11.el7.x86_64
    systemd-libs-219-73.el7_8.8.x86_64 is a duplicate with systemd-libs-208-11.el7.x86_64

    解决方法:

    [root@localhost Common]# yum list installed | grep systemd
    systemd.x86_64                         208-11.el7                      @anaconda
    systemd.x86_64                         219-73.el7_8.8                  installed
    systemd-devel.x86_64                   219-73.el7_8.8                  @updates 
    systemd-libs.x86_64                    208-11.el7                      @anaconda
    systemd-libs.x86_64                    219-73.el7_8.8                  installed
    systemd-python.x86_64                  208-11.el7                      @anaconda
    systemd-sysv.x86_64                    208-11.el7                      @anaconda

    删除208的。

    [root@localhost Common]# rpm -e --nodeps systemd.x86_64
    error: "systemd.x86_64" specifies multiple packages:
      systemd-208-11.el7.x86_64
      systemd-219-73.el7_8.8.x86_64


    [root@localhost Common]# rpm -e --nodeps systemd-208-11.el7.x86_64

    [root@localhost Common]# rpm -e systemd-sysv.x86_64
    [root@localhost Common]# rpm -e systemd-python.x86_64
    error: Failed dependencies:
            systemd-python is needed by (installed) abrt-addon-python-2.1.11-12.el7.centos.x86_64
            systemd-python >= 206-1 is needed by (installed) setroubleshoot-server-3.2.17-2.el7.x86_64

    使用--nodeps参数
    [root@localhost Common]# rpm -e  --nodeps systemd-python.x86_64

  • 相关阅读:
    [BZOJ3997][TJOI2015]组合数学(Dilworth定理+DP)
    [BZOJ4000][TJOI2015]棋盘(状压DP+矩阵快速幂)
    BZOJ2462[Beijing2011]矩阵模板(二维Hash)
    [BZOJ2458][BeiJing2011]最小三角形(分治)
    [HDU5354]Bipartite Graph(CDQ分治+并查集)
    [NOIP2017]时间复杂度(模拟)
    [Luogu2540][NOIP2016]斗地主增强版(搜索+DP)
    [Luogu1979][NOIP2013]华容道(BFS+SPFA)
    WQS二分题集
    [CC-XXOR]Chef and Easy Problem
  • 原文地址:https://www.cnblogs.com/lidabo/p/13722539.html
Copyright © 2011-2022 走看看