• mysql 安装问题 mariadb-libs is obsoleted by mysql-community-libs


     问题描述:

    安装mysql 5.7 的似乎和遇到问题 mariadb-libs is obsoleted by mysql-community-libs

    此问题是centos中包含又类似的依赖库 需要进行删除 后重新安装

    1. [root@ebs-139266 home]# rpm -ivh mysql-community-*.rpm
    2. warning: mysql-community-client-5.7.42-1.el7.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 3a79bd29: NOKEY
    3. error: Failed dependencies:
    4. mariadb-libs is obsoleted by mysql-community-libs-5.7.42-1.el7.x86_64
    5. mariadb-libs is obsoleted by mysql-community-libs-compat-5.7.42-1.el7.x86_64
    6. perl(JSON) is needed by mysql-community-test-5.7.42-1.el7.x86_64
    7. [root@ebs-139266 home]# yum remove mariadb-libs
    8. Loaded plugins: fastestmirror
    9. Resolving Dependencies
    10. --> Running transaction check
    11. ---> Package mariadb-libs.x86_64 1:5.5.68-1.el7 will be erased
    12. --> Processing Dependency: libmysqlclient.so.18()(64bit) for package: 2:postfix-2.10.1-9.el7.x86_64
    13. --> Processing Dependency: libmysqlclient.so.18(libmysqlclient_18)(64bit) for package: 2:postfix-2.10.1-9.el7.x86_64
    14. --> Running transaction check
    15. ---> Package postfix.x86_64 2:2.10.1-9.el7 will be erased
    16. --> Finished Dependency Resolution
    17. Dependencies Resolved
    18. ==============================================================================================================================================================================================================================================================================
    19. Package Arch Version Repository Size
    20. ==============================================================================================================================================================================================================================================================================
    21. Removing:
    22. mariadb-libs x86_64 1:5.5.68-1.el7 @base 4.4 M
    23. Removing for dependencies:
    24. postfix x86_64 2:2.10.1-9.el7 @base 12 M
    25. Transaction Summary
    26. ==============================================================================================================================================================================================================================================================================
    27. Remove 1 Package (+1 Dependent package)
    28. Installed size: 17 M
    29. Is this ok [y/N]: y
    30. Downloading packages:
    31. Running transaction check
    32. Running transaction test
    33. Transaction test succeeded
    34. Running transaction
    35. Erasing : 2:postfix-2.10.1-9.el7.x86_64 1/2
    36. Erasing : 1:mariadb-libs-5.5.68-1.el7.x86_64 2/2
    37. Verifying : 1:mariadb-libs-5.5.68-1.el7.x86_64 1/2
    38. Verifying : 2:postfix-2.10.1-9.el7.x86_64 2/2
    39. Removed:
    40. mariadb-libs.x86_64 1:5.5.68-1.el7
    41. Dependency Removed:
    42. postfix.x86_64 2:2.10.1-9.el7
    43. Complete!

    解决办法:

    卸载原来的 yum remove mariadb-libs  重新安装

  • 相关阅读:
    【Python入门】文件夹操作
    一文搞懂【知识蒸馏】【Knowledge Distillation】算法原理
    c语言进阶 数据的存储(上)
    [ 云计算 华为云 ] 解决办法:如何更换华为云云耀云服务器L实例的镜像 | 文末送书
    数据结构之Map和Sat
    JS中将数组转化成数字的方法和创建数组的方式
    腾讯mini项目-【指标监控服务重构-会议记录】2023-07-21
    【Excel】Excel中将日期格式转换为文本格式,并按日期显示。
    Python爬虫——BeautifulSoup的基本使用
    矩阵蠕虫,陈欣出品
  • 原文地址:https://blog.csdn.net/u010416069/article/details/133692006