• 系统环境出现问题,安装zabbix-server报错nothing provides libiksemel.so.3()(64bit) needed by zabbix-server-mysql-4.0.0-2.el7.x86_64


    今天修补一下zabbix-server,突然出现问题如下。

    [root@chaofeng yum.repos.d]#dnf install zabbix-server-mysql --releasever 7
    Last metadata expiration check: 0:00:17 ago on Thu 04 Jun 2020 08:20:03 AM CST.
    Error: 
     Problem: conflicting requests
      - nothing provides libiksemel.so.3()(64bit) needed by zabbix-server-mysql-4.0.0-2.el7.x86_64
      - nothing provides libiksemel.so.3()(64bit) needed by zabbix-server-mysql-4.0.1-1.el7.x86_64
      - nothing provides libiksemel.so.3()(64bit) needed by zabbix-server-mysql-4.0.10-1.el7.x86_64
      - nothing provides libiksemel.so.3()(64bit) needed by zabbix-server-mysql-4.0.11-1.el7.x86_64
      - nothing provides libiksemel.so.3()(64bit) needed by zabbix-server-mysql-4.0.12-1.el7.x86_64
      - nothing provides libiksemel.so.3()(64bit) needed by zabbix-server-mysql-4.0.13-1.el7.x86_64
      - nothing provides libiksemel.so.3()(64bit) needed by zabbix-server-mysql-4.0.14-1.el7.x86_64
      - nothing provides libiksemel.so.3()(64bit) needed by zabbix-server-mysql-4.0.15-1.el7.x86_64
      - nothing provides libiksemel.so.3()(64bit) needed by zabbix-server-mysql-4.0.16-1.el7.x86_64
      - nothing provides libiksemel.so.3()(64bit) needed by zabbix-server-mysql-4.0.17-1.el7.x86_64
      - nothing provides libiksemel.so.3()(64bit) needed by zabbix-server-mysql-4.0.17-2.el7.x86_64
      - nothing provides libiksemel.so.3()(64bit) needed by zabbix-server-mysql-4.0.18-1.el7.x86_64
      - nothing provides libiksemel.so.3()(64bit) needed by zabbix-server-mysql-4.0.19-1.el7.x86_64
      - nothing provides libiksemel.so.3()(64bit) needed by zabbix-server-mysql-4.0.2-1.el7.x86_64
      - nothing provides libiksemel.so.3()(64bit) needed by zabbix-server-mysql-4.0.20-1.el7.x86_64
      - nothing provides libiksemel.so.3()(64bit) needed by zabbix-server-mysql-4.0.21-1.el7.x86_64
      - nothing provides libiksemel.so.3()(64bit) needed by zabbix-server-mysql-4.0.21-2.el7.x86_64
      - nothing provides libiksemel.so.3()(64bit) needed by zabbix-server-mysql-4.0.3-1.el7.x86_64
      - nothing provides libiksemel.so.3()(64bit) needed by zabbix-server-mysql-4.0.4-1.el7.x86_64
      - nothing provides libiksemel.so.3()(64bit) needed by zabbix-server-mysql-4.0.5-1.el7.x86_64
      - nothing provides libiksemel.so.3()(64bit) needed by zabbix-server-mysql-4.0.6-1.el7.x86_64
      - nothing provides libiksemel.so.3()(64bit) needed by zabbix-server-mysql-4.0.7-1.el7.x86_64
      - nothing provides libiksemel.so.3()(64bit) needed by zabbix-server-mysql-4.0.8-1.el7.x86_64
      - nothing provides libiksemel.so.3()(64bit) needed by zabbix-server-mysql-4.0.9-2.el7.x86_64
      - nothing provides libiksemel.so.3()(64bit) needed by zabbix-server-mysql-4.0.9-3.el7.x86_64
    

    实在是坑爹,应该是不小心删除了/var/lib/yum导致的,环境出现了依赖问题,。因此需要修复一下。报错就是上面的这些,按照其他的网友的方法都试过了,比如后面加上--releasever=7,指定当前系统的版本都不行。看来只能自己就自己了,既然说缺少这个库,那就下载libiksemel这个名字的库。
    链接地址就是:http://springdale.math.ias.edu/data/puias/unsupported/7/x86_64/iksemel-1.4-6.sdl7.x86_64.rpm,下载下来之后,使用

    [root@chaofeng ~]#yum install iksemel-1.4-6.sdl7.x86_64.rpm 
    Unable to detect release version (use '--releasever' to specify release version)
    Last metadata expiration check: 0:05:30 ago on Thu 04 Jun 2020 08:20:03 AM CST.
    Dependencies resolved.
    ===================================================================================================================================
     Package                                  Arch                Version                              Repository                 Size
    ===================================================================================================================================
    Installing:
     iksemel                                  x86_64              1.4-6.sdl7                           @commandline               51 k
    Installing dependencies:
     acl                                      x86_64              2.2.51-15.el7                        base                       81 k
     audit-libs                               x86_64              2.8.5-4.el7                          base                      102 k
     basesystem                               noarch              10.0-7.el7.centos                    base                      5.0 k
     bash                                     x86_64              4.2.46-34.el7                        base                      1.0 M
    省略省略
    ncurses-5.9-14.20130511.el7_4.x86_64                      ncurses-base-5.9-14.20130511.el7_4.noarch              ncurses-libs-5.9-14.20130511.el7_4.x86_64                
      nettle-2.7.1-8.el7.x86_64                                 nspr-4.21.0-1.el7.x86_64                               nss-3.44.0-7.el7_7.x86_64                                
      nss-pem-1.0.3-7.el7.x86_64                                nss-softokn-3.44.0-8.el7_7.x86_64                      nss-softokn-freebl-3.44.0-8.el7_7.x86_64                 
      nss-sysinit-3.44.0-7.el7_7.x86_64                         nss-tools-3.44.0-7.el7_7.x86_64                        nss-util-3.44.0-4.el7_7.x86_64                           
      openldap-2.4.44-21.el7_6.x86_64                           openssl-libs-1:1.0.2k-19.el7.x86_64                    p11-kit-0.23.5-3.el7.x86_64                              
      p11-kit-trust-0.23.5-3.el7.x86_64                         pam-1.1.8-23.el7.x86_64                                pcre-8.32-17.el7.x86_64                                  
      pkgconfig-1:0.27.1-4.el7.x86_64                           popt-1.13-16.el7.x86_64                                procps-ng-3.3.10-27.el7.x86_64                           
      qrencode-libs-3.4.1-3.el7.x86_64                          readline-6.2-11.el7.x86_64                             rpm-4.11.3-43.el7.x86_64                                 
      rpm-libs-4.11.3-43.el7.x86_64                             sed-4.2.2-6.el7.x86_64                                 setup-2.8.71-11.el7.noarch                               
      shadow-utils-2:4.6-5.el7.x86_64                           shared-mime-info-1.8-5.el7.x86_64                      sqlite-3.7.17-8.el7_7.1.x86_64                           
      tar-2:1.26-35.el7.x86_64                                  trousers-0.3.14-2.el7.x86_64                           ustr-1.0.4-16.el7.x86_64                                 
      util-linux-2.23.2-63.el7.x86_64                           xz-5.2.2-1.el7.x86_64                                  xz-libs-5.2.2-1.el7.x86_64                               
      zlib-1.2.7-18.el7.x86_64                                  binutils-2.27-43.base.el7_8.1.x86_64                   device-mapper-7:1.02.164-7.el7_8.2.x86_64                
      device-mapper-libs-7:1.02.164-7.el7_8.2.x86_64            systemd-219-73.el7_8.6.x86_64                          systemd-libs-219-73.el7_8.6.x86_64                       
      tzdata-2020a-1.el7.noarch                                
    
    Complete!
    

    的方式让系统自动解决依赖问题安装这个包,会比较大,所以耐心等待即可。
    然后再安装zabbix-server,就没有任何问题了。--releasever=7都不指定了。

  • 相关阅读:
    [转帖]ExtJs与服务器的交互(一)
    Ext_两种处理服务器端返回值的方式
    命令行调用dubbo远程服务
    【转】Lombok Pojo默认初始值问题
    【转】Python之可变参数,*参数,**参数,以及传入*参数,进行解包
    Python获取并输出当前日期时间
    idea上 实现了Serializable接口,要自动生成serialVersionUID的方法
    mac下python2.x和python3.x的安装方法和升级方法/卸载
    工程代码不编译src的java目录下的xml文件问题及解决
    Spring Aop织入点语法
  • 原文地址:https://www.cnblogs.com/FengGeBlog/p/13041378.html
Copyright © 2020-2023  润新知