【发布时间】: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 提交错误报告。