【问题标题】:Dependency error while installing MariaDB10.1 on RHEL 7.1在 RHEL 7.1 上安装 MariaDB10.1 时出现依赖性错误
【发布时间】:2017-01-05 09:43:04
【问题描述】:

我正在尝试使用以下链接在 RHEL 7.1 上安装 MariaDB 10.1
https://downloads.mariadb.org/mariadb/repositories/#mirror=Fibergrid&distro=RedHat&distro_release=rhel7-amd64--rhel7&version=10.1
安装时出现以下错误

--> Running transaction check
---> Package MariaDB-server.x86_64 0:10.1.20-1.el7.centos will be installed
--> Processing Dependency: libsystemd.so.0(LIBSYSTEMD_209)(64bit) for package: MariaDB-server-10.1.20-1.el7.centos.x86_64
--> Processing Dependency: libsystemd.so.0()(64bit) for package: MariaDB-server-10.1.20-1.el7.centos.x86_64
---> Package perl-Compress-Raw-Bzip2.x86_64 0:2.061-3.el7 will be installed
---> Package perl-Compress-Raw-Zlib.x86_64 1:2.061-4.el7 will be installed
--> Finished Dependency Resolution
Error: Package: MariaDB-server-10.1.20-1.el7.centos.x86_64 (mariadb)
Requires: libsystemd.so.0()(64bit)
Error: Package: MariaDB-server-10.1.20-1.el7.centos.x86_64 (mariadb)
Requires: libsystemd.so.0(LIBSYSTEMD_209)(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

【问题讨论】:

  • RHEL 7.1 真的没有 libsystemd.so.0 吗?实验室里没有 RHEL 7.1 x86_64 builder,这些包实际上是在 CentOS 7 上构建的,可能有些不同。
  • 我建议使用打包为 Software Collection 的 MariaDB。
  • 如果默认存储库中确实没有适用于 RHEL 7.1 的此类库,请同时在 JIRA 提交错误报告。

标签: mariadb redhat yum rhel


【解决方案1】:

看起来同样的issue 已被 Docker 社区解决

他们的解决方案是将 RHEL 升级到 7.2 版本,这些问题应该会消失

我在使用 Amazon Linux 时遇到了同样的问题,但解决方案不同(解决方案可以在 here 找到)

祝你好运。

【讨论】:

    猜你喜欢
    • 2013-05-07
    • 2023-03-04
    • 1970-01-01
    • 2011-11-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-09-10
    • 2020-08-27
    相关资源
    最近更新 更多