我正在尝试使用以下行在centos 6.5(x64)上安装Redis:
yum install redis
但我得到以下屏幕:
[root@NodeJs ~]# yum install redis
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: nl.mirror.eurid.eu
* epel: nl.mirror.eurid.eu
* extras: mirror.denit.net
* updates: nl.mirror.eurid.eu
Resolving Dependencies
--> Running transaction check
---> Package redis.x86_64 0:2.8.14-2.el7 will be installed
--> Processing Dependency: systemd for package: redis-2.8.14-2.el7.x86_64
--> Processing Dependency: systemd for package: redis-2.8.14-2.el7.x86_64
--> Processing Dependency: libjemalloc.so.1()(64bit) for package: redis-2.8.14-2.el7.x86_64
--> Running transaction check
---> Package jemalloc.x86_64 0:3.6.0-1.el7 will be installed
---> Package redis.x86_64 0:2.8.14-2.el7 will be installed
--> Processing Dependency: systemd for package: redis-2.8.14-2.el7.x86_64
--> Processing Dependency: systemd for package: redis-2.8.14-2.el7.x86_64
--> Finished Dependency Resolution
Error: Package: redis-2.8.14-2.el7.x86_64 (epel)
Requires: systemd
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
我该如何解决这个问题?
哦,我必须升级到centos 7对吗?
—
Tolgay Toklar
这是一个选择,但您可以先尝试迈克尔·汉普顿的答案。它不包含在EPEL6中,但是可以通过安装另一个软件包将它安装在CentOS6上。
—
030
我在他的回答中添加了评论,请看一下
—
Tolgay Toklar
很好的问题!+1
—
l --''''''---------''''''''''
systemd
不包含在EPEL6中。[1]:stackoverflow.com/questions/28347694/…–