2017-01-05 56 views
0

我試圖在RHEL 7.1安裝MariaDB的10.1使用下面的鏈接
https://downloads.mariadb.org/mariadb/repositories/#mirror=Fibergrid&distro=RedHat&distro_release=rhel7-amd64--rhel7&version=10.1
我收到以下錯誤,而安裝依賴錯誤,而在RHEL安裝MariaDB10.1 7.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 
+1

RHEL 7.1確實沒有libsystemd.so.0嗎?實驗室中沒有RHEL 7.1 x86_64構建器,這些包實際上構建在CentOS 7上,可能有些不同。 – elenst

+0

我建議使用MariaDB打包作爲[軟件集合](https://access.redhat.com/documentation/en-US/Red_Hat_Software_Collections/2/html-single/2.3_Release_Notes/index.html#sect-RHSCL-Features )。 –

+0

如果在默認回購中確實沒有用於RHEL 7.1的此類庫,請在[JIRA](https://jira.mariadb.org)上提交錯誤報告。 – elenst

回答

0

貌似相同issue泊塢社區解決

他們的解決方案是升級RHEL7.2版本,這些問題已經不復存在了

我有同樣的問題與亞馬遜的Linux,但解決方案是不同的(辦法可以解決here

好運。