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

  • 相关阅读:
    JS实现checkbox全选功能
    JS回车检索
    MockServer 之postman
    Locust性能测试
    Bitter.Core系列二:Bitter ORM NETCORE ORM 全网最粗暴简单易用高性能的 NETCore ORM 之数据库连接
    MSSQL 经典语句查看表字典结构语句
    使用 Path.Combine 构建跨平台文件路径拼接
    迁移备份WSL2下的子系统/迁移Windows 10 Docker Data目录/踩坑记录
    MSSQL 20212 高可用集群方案2012的AlwaysOn高性能组件
    MSSQL 经典SQL 语句WITH递归
  • 原文地址:https://www.cnblogs.com/lidabo/p/13722539.html
Copyright © 2011-2022 走看看